summaryrefslogtreecommitdiff
path: root/db/migrate/20180503175054_add_indexes_to_project_mirror_data.rb
diff options
context:
space:
mode:
Diffstat (limited to 'db/migrate/20180503175054_add_indexes_to_project_mirror_data.rb')
-rw-r--r--db/migrate/20180503175054_add_indexes_to_project_mirror_data.rb18
1 files changed, 0 insertions, 18 deletions
diff --git a/db/migrate/20180503175054_add_indexes_to_project_mirror_data.rb b/db/migrate/20180503175054_add_indexes_to_project_mirror_data.rb
deleted file mode 100644
index 15a188594b0..00000000000
--- a/db/migrate/20180503175054_add_indexes_to_project_mirror_data.rb
+++ /dev/null
@@ -1,18 +0,0 @@
-class AddIndexesToProjectMirrorData < ActiveRecord::Migration[4.2]
- include Gitlab::Database::MigrationHelpers
-
- DOWNTIME = false
-
- disable_ddl_transaction!
-
- def up
- add_concurrent_index :project_mirror_data, :jid
- add_concurrent_index :project_mirror_data, :status
- end
-
- def down
- # rubocop:disable Migration/RemoveIndex
- remove_index :project_mirror_data, :jid if index_exists? :project_mirror_data, :jid
- remove_index :project_mirror_data, :status if index_exists? :project_mirror_data, :status
- end
-end