- add_foreign_key :reports, :issues, :name => "reports_issue_id_fkey"
- add_foreign_key :reports, :users,:column => :reporter_user_id, :name => "reports_reporter_user_id_fkey"
+ add_foreign_key :reports, :issues, :name => "reports_issue_id_fkey", on_delete: :cascade
+ add_foreign_key :reports, :users,:column => :reporter_user_id, :name => "reports_reporter_user_id_fkey", on_delete: :cascade