Remove unused model

It was added in commit 74083df1; we're not sure why.
This commit is contained in:
Javi Martín
2019-10-31 18:23:59 +01:00
parent 8ed3595b70
commit 184d5fc504
4 changed files with 10 additions and 19 deletions

View File

@@ -45,7 +45,6 @@ class User < ApplicationRecord
inverse_of: :receiver
has_many :legislation_answers, class_name: "Legislation::Answer", dependent: :destroy, inverse_of: :user
has_many :follows
has_many :budget_rol_assignments
has_many :legislation_annotations,
class_name: "Legislation::Annotation",
foreign_key: :author_id,
@@ -80,7 +79,6 @@ class User < ApplicationRecord
foreign_key: :author_id,
inverse_of: :author
has_many :topics, foreign_key: :author_id, inverse_of: :author
has_many :budgets, through: :budget_rol_assignments
belongs_to :geozone
validates :username, presence: true, if: :username_required?