Create missing associations in User.rb file
There are some associations for Users table which we defined on the DB level but not on the model level. They need to be defined on model level too with appropriate dependent clause.
Edited by 🤖 GitLab Bot 🤖