流水线关联项目

This commit is contained in:
moshenglv
2021-01-19 11:52:29 +08:00
parent 05416339e5
commit f90bc0897b
6 changed files with 21 additions and 18 deletions

View File

@@ -1,6 +1,6 @@
class AddSyncAndProjectIdToCiPipelines < ActiveRecord::Migration[5.2]
def change
add_column :ci_pipelines, :sync, :integer, null: false, comment: '0 未同步到gitea1 已同步', default: 0
add_column :ci_pipelines, :project_id, :integer
add_column :ci_pipelines, :identifier, :string
end
end