FIX code bug
This commit is contained in:
parent
7a2d7f50fd
commit
8e7c25b5ed
|
@ -78,14 +78,9 @@ class User < ApplicationRecord
|
||||||
# 关注
|
# 关注
|
||||||
has_many :be_watchers, foreign_key: :user_id, dependent: :destroy # 我的关注
|
has_many :be_watchers, foreign_key: :user_id, dependent: :destroy # 我的关注
|
||||||
has_many :be_watcher_users, through: :be_watchers, dependent: :destroy # 我关注的用户
|
has_many :be_watcher_users, through: :be_watchers, dependent: :destroy # 我关注的用户
|
||||||
<<<<<<< HEAD
|
|
||||||
has_many :watchers, as: :watchable, dependent: :destroy
|
has_many :watchers, as: :watchable, dependent: :destroy
|
||||||
|
|
||||||
has_one :dev_ops_cloud_account, class_name: 'DevOps::CloudAccount', dependent: :destroy
|
has_one :dev_ops_cloud_account, class_name: 'DevOps::CloudAccount', dependent: :destroy
|
||||||
=======
|
|
||||||
|
|
||||||
has_many :watchers, as: :watchable, dependent: :destroy
|
|
||||||
>>>>>>> dev_change_route
|
|
||||||
|
|
||||||
# 认证
|
# 认证
|
||||||
has_many :apply_user_authentication
|
has_many :apply_user_authentication
|
||||||
|
|
Loading…
Reference in New Issue