diff options
Diffstat (limited to 'db/migrate/20210602122233_add_runners_description_index.rb')
-rw-r--r-- | db/migrate/20210602122233_add_runners_description_index.rb | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/db/migrate/20210602122233_add_runners_description_index.rb b/db/migrate/20210602122233_add_runners_description_index.rb deleted file mode 100644 index ae779e62f0f..00000000000 --- a/db/migrate/20210602122233_add_runners_description_index.rb +++ /dev/null @@ -1,17 +0,0 @@ -# frozen_string_literal: true - -class AddRunnersDescriptionIndex < ActiveRecord::Migration[6.0] - include Gitlab::Database::MigrationHelpers - - INDEX_NAME = 'index_ci_runners_on_description_trigram' - - disable_ddl_transaction! - - def up - add_concurrent_index :ci_runners, :description, name: INDEX_NAME, using: :gin, opclass: { description: :gin_trgm_ops } - end - - def down - remove_concurrent_index_by_name :ci_runners, INDEX_NAME - end -end |