Admin::UsersController#destroy (ActiveRecord::InvalidForeignKey) "PG::ForeignKeyViolation: ERROR: update or delete on table "users" violates foreign key constraint "fk_rails_c7699d537d" on table "reports"
DETAIL: Key (id)=(15) is still referenced from table "reports".
: DELETE FROM "users" WHERE "users"."id" = $1" #191
PG::ForeignKeyViolation: ERROR: update or delete on table "users" violates foreign key constraint "fk_rails_c7699d537d" on table "reports"
DETAIL: Key (id)=(15) is still referenced from table "reports".
: DELETE FROM "users" WHERE "users"."id" = $1
Stack Trace
Fingerprint:
652d29a368f276c3e1ea1bb309a369f396c2a97f