summaryrefslogtreecommitdiff
path: root/db/migrate/20161106185620_add_project_import_data_project_index.rb
diff options
context:
space:
mode:
Diffstat (limited to 'db/migrate/20161106185620_add_project_import_data_project_index.rb')
-rw-r--r--db/migrate/20161106185620_add_project_import_data_project_index.rb17
1 files changed, 0 insertions, 17 deletions
diff --git a/db/migrate/20161106185620_add_project_import_data_project_index.rb b/db/migrate/20161106185620_add_project_import_data_project_index.rb
deleted file mode 100644
index 46809ca1707..00000000000
--- a/db/migrate/20161106185620_add_project_import_data_project_index.rb
+++ /dev/null
@@ -1,17 +0,0 @@
-# rubocop:disable RemoveIndex
-class AddProjectImportDataProjectIndex < ActiveRecord::Migration[4.2]
- include Gitlab::Database::MigrationHelpers
-
- # Set this constant to true if this migration requires downtime.
- DOWNTIME = false
-
- disable_ddl_transaction!
-
- def up
- add_concurrent_index :project_import_data, :project_id
- end
-
- def down
- remove_index :project_import_data, :project_id if index_exists? :project_import_data, :project_id
- end
-end