20220428112511_add_index_statuses_on_account_id.rb 249 B

123456789
  1. # frozen_string_literal: true
  2. class AddIndexStatusesOnAccountId < ActiveRecord::Migration[6.1]
  3. disable_ddl_transaction!
  4. def change
  5. add_index :statuses, [:account_id], name: :index_statuses_on_account_id, algorithm: :concurrently
  6. end
  7. end