diff options
Diffstat (limited to 'db/migrate/20190918104731_add_cleanup_status_to_cluster.rb')
-rw-r--r-- | db/migrate/20190918104731_add_cleanup_status_to_cluster.rb | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/db/migrate/20190918104731_add_cleanup_status_to_cluster.rb b/db/migrate/20190918104731_add_cleanup_status_to_cluster.rb deleted file mode 100644 index 62290fb0fa6..00000000000 --- a/db/migrate/20190918104731_add_cleanup_status_to_cluster.rb +++ /dev/null @@ -1,21 +0,0 @@ -# frozen_string_literal: true - -class AddCleanupStatusToCluster < ActiveRecord::Migration[5.2] - include Gitlab::Database::MigrationHelpers - - # Set this constant to true if this migration requires downtime. - DOWNTIME = false - - disable_ddl_transaction! - - def up - add_column_with_default(:clusters, :cleanup_status, # rubocop:disable Migration/AddColumnWithDefault - :smallint, - default: 1, - allow_null: false) - end - - def down - remove_column(:clusters, :cleanup_status) - end -end |