diff options
Diffstat (limited to 'db/migrate/20210616154808_remove_ci_build_protected_index.rb')
-rw-r--r-- | db/migrate/20210616154808_remove_ci_build_protected_index.rb | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/db/migrate/20210616154808_remove_ci_build_protected_index.rb b/db/migrate/20210616154808_remove_ci_build_protected_index.rb deleted file mode 100644 index 25a8d159c1e..00000000000 --- a/db/migrate/20210616154808_remove_ci_build_protected_index.rb +++ /dev/null @@ -1,19 +0,0 @@ -# frozen_string_literal: true - -class RemoveCiBuildProtectedIndex < ActiveRecord::Migration[6.1] - include Gitlab::Database::MigrationHelpers - - DOWNTIME = false - - INDEX_NAME = 'index_ci_builds_on_protected' - - disable_ddl_transaction! - - def up - remove_concurrent_index :ci_builds, :protected, name: INDEX_NAME - end - - def down - add_concurrent_index :ci_builds, :protected, name: INDEX_NAME - end -end |