diff options
Diffstat (limited to 'db/migrate/20171005102658_create_account_moderation_notes.rb')
-rw-r--r-- | db/migrate/20171005102658_create_account_moderation_notes.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/db/migrate/20171005102658_create_account_moderation_notes.rb b/db/migrate/20171005102658_create_account_moderation_notes.rb index d1802b5b3..974ed9940 100644 --- a/db/migrate/20171005102658_create_account_moderation_notes.rb +++ b/db/migrate/20171005102658_create_account_moderation_notes.rb @@ -7,6 +7,7 @@ class CreateAccountModerationNotes < ActiveRecord::Migration[5.1] t.timestamps end + add_foreign_key :account_moderation_notes, :accounts, column: :target_account_id end end |