FIX 优化ci初始化流程

This commit is contained in:
Jasder
2020-08-28 10:25:08 +08:00
parent b26c2f273f
commit b75896821f
7 changed files with 33 additions and 34 deletions

View File

@@ -0,0 +1,5 @@
class AddCiUserIdToCiCloudAccounts < ActiveRecord::Migration[5.2]
def change
add_column :ci_cloud_accounts, :ci_user_id, :integer
end
end

View File

@@ -0,0 +1,7 @@
class RemoveProjectIdFromCiCloudAccounts < ActiveRecord::Migration[5.2]
def change
remove_column :ci_cloud_accounts, :project_id
remove_column :ci_cloud_accounts, :repo_id
remove_column :ci_cloud_accounts, :drone_token
end
end