t.timestamps
end
- add_foreign_key :report_notes, :reports, column: :report_id, on_delete: :cascade
- add_foreign_key :report_notes, :accounts, column: :account_id, on_delete: :cascade
+ safety_assured { add_foreign_key :report_notes, :reports, column: :report_id, on_delete: :cascade }
+ safety_assured { add_foreign_key :report_notes, :accounts, column: :account_id, on_delete: :cascade }
end
end
t.timestamps
end
- add_foreign_key :glitch_keyword_mutes, :accounts, on_delete: :cascade
+ safety_assured { add_foreign_key :glitch_keyword_mutes, :accounts, on_delete: :cascade }
end
CustomFilter.where(irreversible: true).find_each do |filter|