Fix old migrations failing because of new version of strong_migrations
(#10904)
This commit is contained in:
parent
acc74bed12
commit
1c78d600d3
3 changed files with 3 additions and 3 deletions
|
@ -8,6 +8,6 @@ class CreateAccountModerationNotes < ActiveRecord::Migration[5.1]
|
|||
t.timestamps
|
||||
end
|
||||
|
||||
add_foreign_key :account_moderation_notes, :accounts, column: :target_account_id
|
||||
safety_assured { add_foreign_key :account_moderation_notes, :accounts, column: :target_account_id }
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue