Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'db/post_migrate/20180212102028_remove_tmp_partial_null_index_from_builds.rb')
-rw-r--r--db/post_migrate/20180212102028_remove_tmp_partial_null_index_from_builds.rb14
1 files changed, 0 insertions, 14 deletions
diff --git a/db/post_migrate/20180212102028_remove_tmp_partial_null_index_from_builds.rb b/db/post_migrate/20180212102028_remove_tmp_partial_null_index_from_builds.rb
deleted file mode 100644
index 2444df881b8..00000000000
--- a/db/post_migrate/20180212102028_remove_tmp_partial_null_index_from_builds.rb
+++ /dev/null
@@ -1,14 +0,0 @@
-class RemoveTmpPartialNullIndexFromBuilds < ActiveRecord::Migration[4.2]
- include Gitlab::Database::MigrationHelpers
-
- disable_ddl_transaction!
-
- def up
- remove_concurrent_index_by_name(:ci_builds, 'tmp_id_partial_null_index')
- end
-
- def down
- add_concurrent_index(:ci_builds, :id, where: 'stage_id IS NULL',
- name: 'tmp_id_partial_null_index')
- end
-end