summaryrefslogtreecommitdiff
path: root/db/migrate/20160715134306_add_index_for_pipeline_user_id.rb
diff options
context:
space:
mode:
Diffstat (limited to 'db/migrate/20160715134306_add_index_for_pipeline_user_id.rb')
-rw-r--r--db/migrate/20160715134306_add_index_for_pipeline_user_id.rb16
1 files changed, 0 insertions, 16 deletions
diff --git a/db/migrate/20160715134306_add_index_for_pipeline_user_id.rb b/db/migrate/20160715134306_add_index_for_pipeline_user_id.rb
deleted file mode 100644
index 8e7ac86a8b7..00000000000
--- a/db/migrate/20160715134306_add_index_for_pipeline_user_id.rb
+++ /dev/null
@@ -1,16 +0,0 @@
-# rubocop:disable RemoveIndex
-class AddIndexForPipelineUserId < ActiveRecord::Migration[4.2]
- include Gitlab::Database::MigrationHelpers
-
- DOWNTIME = false
-
- disable_ddl_transaction!
-
- def up
- add_concurrent_index :ci_commits, :user_id
- end
-
- def down
- remove_index :ci_commits, :user_id if index_exists? :ci_commits, :user_id
- end
-end