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:
Alan Guo Xiang Tan 2021-07-01 10:50:16 +08:00 committed by GitHub
parent d2e867ae09
commit b42e9e5c86
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 2 deletions

View File

@ -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