gab-social/db/migrate/20210117120100_add_indexes_on_accounts.rb
2021-01-17 12:51:15 -05:00

9 lines
227 B
Ruby

class AddIndexesOnAccounts < ActiveRecord::Migration[5.2]
disable_ddl_transaction!
def change
add_index :accounts, :locked, algorithm: :concurrently
add_index :accounts, :domain, algorithm: :concurrently
end
end