summaryrefslogtreecommitdiff
path: root/db/migrate/20170623080805_remove_ci_variables_project_id_index.rb
diff options
context:
space:
mode:
authorSean McGivern <sean@gitlab.com>2019-07-03 10:28:13 +0100
committerSean McGivern <sean@gitlab.com>2019-07-03 10:28:13 +0100
commitb94daa35a4be584623792653b537d6ab68bdabdd (patch)
treecd620ef82dc85cec1cb401c7a5cf880c47418708 /db/migrate/20170623080805_remove_ci_variables_project_id_index.rb
parent83330822d6ee3c59a057adeda35b23ab0021b63a (diff)
parentf90a7601c40c82bd230f9c014bc4f64744e77b5e (diff)
downloadgitlab-ce-b94daa35a4be584623792653b537d6ab68bdabdd.tar.gz
Merge branch 'master' into michel.engelen/gitlab-ce-issue/55953
Diffstat (limited to 'db/migrate/20170623080805_remove_ci_variables_project_id_index.rb')
-rw-r--r--db/migrate/20170623080805_remove_ci_variables_project_id_index.rb19
1 files changed, 0 insertions, 19 deletions
diff --git a/db/migrate/20170623080805_remove_ci_variables_project_id_index.rb b/db/migrate/20170623080805_remove_ci_variables_project_id_index.rb
deleted file mode 100644
index 861dbd2ee14..00000000000
--- a/db/migrate/20170623080805_remove_ci_variables_project_id_index.rb
+++ /dev/null
@@ -1,19 +0,0 @@
-class RemoveCiVariablesProjectIdIndex < ActiveRecord::Migration[4.2]
- include Gitlab::Database::MigrationHelpers
-
- DOWNTIME = false
-
- disable_ddl_transaction!
-
- def up
- if index_exists?(:ci_variables, :project_id)
- remove_concurrent_index(:ci_variables, :project_id)
- end
- end
-
- def down
- unless index_exists?(:ci_variables, :project_id)
- add_concurrent_index(:ci_variables, :project_id)
- end
- end
-end