summaryrefslogtreecommitdiff
path: root/db/post_migrate/20210629104933_drop_index_on_ci_builds_for_token.rb
diff options
context:
space:
mode:
Diffstat (limited to 'db/post_migrate/20210629104933_drop_index_on_ci_builds_for_token.rb')
-rw-r--r--db/post_migrate/20210629104933_drop_index_on_ci_builds_for_token.rb17
1 files changed, 0 insertions, 17 deletions
diff --git a/db/post_migrate/20210629104933_drop_index_on_ci_builds_for_token.rb b/db/post_migrate/20210629104933_drop_index_on_ci_builds_for_token.rb
deleted file mode 100644
index cc26db924fe..00000000000
--- a/db/post_migrate/20210629104933_drop_index_on_ci_builds_for_token.rb
+++ /dev/null
@@ -1,17 +0,0 @@
-# frozen_string_literal: true
-
-class DropIndexOnCiBuildsForToken < ActiveRecord::Migration[6.1]
- include Gitlab::Database::MigrationHelpers
-
- disable_ddl_transaction!
-
- INDEXNAME = :index_ci_builds_on_token
-
- def up
- remove_concurrent_index_by_name :ci_builds, INDEXNAME
- end
-
- def down
- add_concurrent_index :ci_builds, :token, unique: true, name: INDEXNAME
- end
-end