20230524190515_add_index_accounts_on_domain_and_id.rb 255 B

123456789
  1. # frozen_string_literal: true
  2. class AddIndexAccountsOnDomainAndId < ActiveRecord::Migration[6.1]
  3. disable_ddl_transaction!
  4. def change
  5. add_index :accounts, [:domain, :id], name: :index_accounts_on_domain_and_id, algorithm: :concurrently
  6. end
  7. end