mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-24 05:35:46 +08:00
FIX 完善devops流程
This commit is contained in:
@@ -3,6 +3,7 @@ class Repository < ApplicationRecord
|
||||
belongs_to :project, :touch => true
|
||||
belongs_to :user
|
||||
has_one :mirror, foreign_key: :repo_id
|
||||
has_one :dev_ops_cloud_account, foreign_key: :repo_id
|
||||
has_many :version_releases, dependent: :destroy
|
||||
|
||||
validates :identifier, presence: true
|
||||
|
||||
Reference in New Issue
Block a user