diff options
Diffstat (limited to 'db/migrate/20181017001059_add_cluster_type_to_clusters.rb')
-rw-r--r-- | db/migrate/20181017001059_add_cluster_type_to_clusters.rb | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/db/migrate/20181017001059_add_cluster_type_to_clusters.rb b/db/migrate/20181017001059_add_cluster_type_to_clusters.rb deleted file mode 100644 index 75abcfedfc9..00000000000 --- a/db/migrate/20181017001059_add_cluster_type_to_clusters.rb +++ /dev/null @@ -1,18 +0,0 @@ -# frozen_string_literal: true - -class AddClusterTypeToClusters < ActiveRecord::Migration[4.2] - include Gitlab::Database::MigrationHelpers - - DOWNTIME = false - PROJECT_CLUSTER_TYPE = 3 - - disable_ddl_transaction! - - def up - add_column_with_default(:clusters, :cluster_type, :smallint, default: PROJECT_CLUSTER_TYPE) # rubocop:disable Migration/AddColumnWithDefault - end - - def down - remove_column(:clusters, :cluster_type) - end -end |