mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-24 13:45:44 +08:00
ADD ci namespace modle associations
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
class Ci::CloudAccount < Ci::LocalBase
|
||||
belongs_to :user
|
||||
belongs_to :ci_user, class_name: 'Ci::User', foreign_key: :ci_user_id
|
||||
belongs_to :ci_user, class_name: 'Ci::User', foreign_key: :ci_user_id, optional: true
|
||||
|
||||
def drone_host
|
||||
[drone_ip, ":80"].join
|
||||
|
||||
Reference in New Issue
Block a user