includeGitlab::Database::MigrationHelpersDOWNTIME=false# Disabled for the "down" method so the indexes can be re-created concurrently.disable_ddl_transaction!defupreturnunlessGitlab::Database.postgresql?transactiondoexecute'DROP INDEX IF EXISTS index_ci_runners_on_token_trigram;'execute'DROP INDEX IF EXISTS index_ci_runners_on_description_trigram;'endenddefdownreturnunlessGitlab::Database.postgresql?execute'CREATE INDEX CONCURRENTLY index_ci_runners_on_token_trigram ON ci_runners USING gin(token gin_trgm_ops);'execute'CREATE INDEX CONCURRENTLY index_ci_runners_on_description_trigram ON ci_runners USING gin(description gin_trgm_ops);'endend