diff options
Diffstat (limited to 'db/post_migrate/20220310134207_add_index_project_id_and_released_at_and_id_on_releases.rb')
-rw-r--r-- | db/post_migrate/20220310134207_add_index_project_id_and_released_at_and_id_on_releases.rb | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/db/post_migrate/20220310134207_add_index_project_id_and_released_at_and_id_on_releases.rb b/db/post_migrate/20220310134207_add_index_project_id_and_released_at_and_id_on_releases.rb deleted file mode 100644 index da928f3ec8f..00000000000 --- a/db/post_migrate/20220310134207_add_index_project_id_and_released_at_and_id_on_releases.rb +++ /dev/null @@ -1,16 +0,0 @@ -# frozen_string_literal: true - -class AddIndexProjectIdAndReleasedAtAndIdOnReleases < Gitlab::Database::Migration[1.0] - INDEX_NAME = 'index_releases_on_project_id_and_released_at_and_id' - - disable_ddl_transaction! - - def up - add_concurrent_index :releases, [:project_id, :released_at, :id], - name: INDEX_NAME - end - - def down - remove_concurrent_index_by_name :releases, INDEX_NAME - end -end |