From fa98636eb9e00e1d070ab0335c10a707d17b3486 Mon Sep 17 00:00:00 2001 From: Jasder <2053003901@@qq.com> Date: Wed, 30 Dec 2020 14:02:21 +0800 Subject: [PATCH] FIX migrate bug --- .../20201230054355_add_server_type_to_ci_cloud_accounts.rb | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 db/migrate/20201230054355_add_server_type_to_ci_cloud_accounts.rb diff --git a/db/migrate/20201230054355_add_server_type_to_ci_cloud_accounts.rb b/db/migrate/20201230054355_add_server_type_to_ci_cloud_accounts.rb new file mode 100644 index 000000000..758b8358b --- /dev/null +++ b/db/migrate/20201230054355_add_server_type_to_ci_cloud_accounts.rb @@ -0,0 +1,5 @@ +class AddServerTypeToCiCloudAccounts < ActiveRecord::Migration[5.2] + def change + add_column :ci_cloud_accounts, :server_type, :integer, default: 0 + end +end