blob: afddf4823fbe2c95338679285a7f9be7efdde1d8 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
|
class AddAccountIdToConversations < ActiveRecord::Migration[5.2]
disable_ddl_transaction!
def change
safety_assured do
add_reference :conversations, :account, foreign_key: true, index: {algorithm: :concurrently}
end
end
end
|