mirror of
https://github.com/discourse/discourse.git
synced 2024-11-26 18:13:39 +08:00
Remove has_many :views
from User (#4150)
This commit is contained in:
parent
4f3f6c60c4
commit
609969bf6f
|
@ -29,7 +29,6 @@ class User < ActiveRecord::Base
|
|||
has_many :topic_allowed_users, dependent: :destroy
|
||||
has_many :topics_allowed, through: :topic_allowed_users, source: :topic
|
||||
has_many :email_tokens, dependent: :destroy
|
||||
has_many :views
|
||||
has_many :user_visits, dependent: :destroy
|
||||
has_many :invites, dependent: :destroy
|
||||
has_many :topic_links, dependent: :destroy
|
||||
|
|
Loading…
Reference in New Issue
Block a user