blob: 42298b27493e1b9b1db38351d2bedd2175386842 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
|
class AddAccountsToDestructingStatuses < ActiveRecord::Migration[5.2]
disable_ddl_transaction!
def change
safety_assured do
add_reference :destructing_statuses, :account, null: false, foreign_key: { on_delete: :cascade }, index: { algorithm: :concurrently }
end
end
end
|