mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-24 05:35:46 +08:00
ADD ci namespace modle associations
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
class Ci::Perm < Ci::RemoteBase
|
||||
self.primary_key = nil
|
||||
|
||||
belongs_to :ci_user, class_name: 'Ci::User', foreign_key: :perm_user_id
|
||||
|
||||
belongs_to :user, class_name: 'Ci::User', foreign_key: :perm_user_id
|
||||
belongs_to :repo, class_name: 'Ci::Repo', foreign_key: :perm_repo_uid
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user