about summary refs log tree commit diff
path: root/db/migrate/20171005102658_create_account_moderation_notes.rb
diff options
context:
space:
mode:
authorThibG <thib@sitedethib.com>2019-06-04 17:12:25 +0200
committerGitHub <noreply@github.com>2019-06-04 17:12:25 +0200
commit58946fef3c05342289c1c50132996fc4fd01cf68 (patch)
treeaf2df753e591d65a77e55c851cfe2b1979f47683 /db/migrate/20171005102658_create_account_moderation_notes.rb
parent1d5434d34c9bf86dea669676b7e8587255d38135 (diff)
parent8eb7c3304ee1260de3e8e1d1f32bd67409488756 (diff)
Merge pull request #1079 from ThibG/glitch-soc/merge-upstream
Merge upstream changes
Diffstat (limited to 'db/migrate/20171005102658_create_account_moderation_notes.rb')
-rw-r--r--db/migrate/20171005102658_create_account_moderation_notes.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/db/migrate/20171005102658_create_account_moderation_notes.rb b/db/migrate/20171005102658_create_account_moderation_notes.rb
index 974ed9940..010b94586 100644
--- a/db/migrate/20171005102658_create_account_moderation_notes.rb
+++ b/db/migrate/20171005102658_create_account_moderation_notes.rb
@@ -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