about summary refs log tree commit diff
path: root/db/migrate/20220428112511_add_index_statuses_on_account_id.rb
blob: 87a601b72842ab794b0719c5de515dc78500a589 (plain) (blame)
1
2
3
4
5
6
7
class AddIndexStatusesOnAccountId < ActiveRecord::Migration[6.1]
  disable_ddl_transaction!

  def change
    add_index :statuses, [:account_id], name: :index_statuses_on_account_id, algorithm: :concurrently
  end
end