diff --git a/db/migrate/20240123182422_add_target_user_to_reports.rb b/db/migrate/20240123182422_add_target_user_to_reports.rb index 1369940a..a91ed9e6 100644 --- a/db/migrate/20240123182422_add_target_user_to_reports.rb +++ b/db/migrate/20240123182422_add_target_user_to_reports.rb @@ -34,6 +34,6 @@ class AddTargetUserToReports < ActiveRecord::Migration[7.0] end def down - remove_reference :reports, :target_user, null: true, foreign_key: { to_table: :users } + remove_reference :reports, :target_user, null: true, foreign_key: false end end