summaryrefslogtreecommitdiff
path: root/db/migrate/20190826090628_remove_redundant_deployments_index.rb
diff options
context:
space:
mode:
Diffstat (limited to 'db/migrate/20190826090628_remove_redundant_deployments_index.rb')
-rw-r--r--db/migrate/20190826090628_remove_redundant_deployments_index.rb18
1 files changed, 0 insertions, 18 deletions
diff --git a/db/migrate/20190826090628_remove_redundant_deployments_index.rb b/db/migrate/20190826090628_remove_redundant_deployments_index.rb
deleted file mode 100644
index 6b009c17d64..00000000000
--- a/db/migrate/20190826090628_remove_redundant_deployments_index.rb
+++ /dev/null
@@ -1,18 +0,0 @@
-# frozen_string_literal: true
-
-class RemoveRedundantDeploymentsIndex < 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
- remove_concurrent_index :deployments, :cluster_id
- end
-
- def down
- add_concurrent_index :deployments, :cluster_id
- end
-end