DEV: Remove broken associations on `Invite` model. (#13600)
No relevant foreign keys exists on the invites table for the associations to even work.
This commit is contained in:
parent
d2e867ae09
commit
b42e9e5c86
|
@ -18,8 +18,6 @@ class Invite < ActiveRecord::Base
|
|||
|
||||
rate_limit :limit_invites_per_day
|
||||
|
||||
belongs_to :user
|
||||
belongs_to :topic
|
||||
belongs_to :invited_by, class_name: 'User'
|
||||
|
||||
has_many :invited_users
|
||||
|
|
Loading…
Reference in New Issue