fixed 删除用户时保留项目动态数据

This commit is contained in:
xxq250 2024-10-11 08:34:40 +08:00
parent 382ac02b81
commit bfb3381829
1 changed files with 1 additions and 1 deletions

View File

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