about summary refs log tree commit diff
path: root/db/migrate/20171005102658_create_account_moderation_notes.rb
diff options
context:
space:
mode:
authorThibaut Girka <thib@sitedethib.com>2019-06-03 14:54:30 +0200
committerThibaut Girka <thib@sitedethib.com>2019-06-03 14:54:30 +0200
commit76918554a6898f9b94d4ffde07face01754fd058 (patch)
treefa394c02128610793353c0a6ba8363d814147ea4 /db/migrate/20171005102658_create_account_moderation_notes.rb
parent35c4ff07f4d61aaf7ade2ae17060298d62b3f643 (diff)
parentf2f5c1bd6d37ec2ba7d0f98a3c0f8fead6b78f1d (diff)
Merge remote-tracking branch 'upstream/master' into glitch-soc/merge-upstream
Conflicts:
- Gemfile.lock
- config/webpack/rules/css.js
- package.json
- yarn.lock
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