[Fosterful Scheduler/production] ActiveRecord::InvalidForeignKey: PG::ForeignKeyViolation: ERROR: update or delete on table "needs" violates foreign key constraint "fk_rails_cf04de6280" on table "shift_surveys"DETAIL: Key (id)=(1836) is still referenced from table "shift_surveys".
Backtrace
line 74 of [PROJECT_ROOT]/app/controllers/needs_controller.rb: destroy
line 63 of [PROJECT_ROOT]/app/controllers/application_controller.rb: set_time_zone
Backtrace
View full backtrace and more info at honeybadger.io