fixed 删除用户时保留项目动态数据
This commit is contained in:
parent
382ac02b81
commit
bfb3381829
|
@ -160,7 +160,7 @@ class User < Owner
|
|||
|
||||
# 教学案例
|
||||
# has_many :libraries, dependent: :destroy
|
||||
has_many :project_trends, dependent: :destroy
|
||||
has_many :project_trends
|
||||
has_many :oauths , dependent: :destroy
|
||||
|
||||
has_many :organization_users, dependent: :destroy
|
||||
|
|
Loading…
Reference in New Issue