mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-09 22:39:50 +08:00
7 lines
137 B
Ruby
7 lines
137 B
Ruby
class Ci::User < Ci::RemoteBase
|
|
self.primary_key = 'user_id'
|
|
|
|
has_many :repos, foreign_key: "repo_user_id", dependent: :destroy
|
|
|
|
end
|