Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.
# frozen_string_literal: true
class DropTrgmIndexesOnUsers < ActiveRecord::Migration[7.1]
disable_ddl_transaction!
def up
execute <<~SQL
DROP INDEX CONCURRENTLY IF EXISTS index_users_on_username_lower_trgm;
SQL
DROP INDEX CONCURRENTLY IF EXISTS index_users_on_name_trgm;
end
def down
raise ActiveRecord::IrreversibleMigration