Error in Osuny
ActiveRecord::InvalidForeignKey in admin/users#destroy
PG::ForeignKeyViolation: ERROR: update or delete on table "users" violates foreign key constraint "fk_rails_b47a769440" on table "university_people"
DETAIL: Key (id)=(1695e797-a9f1-4333-a2a0-2d50c187381a) is still referenced from table "university_people".
View on Bugsnag
Stacktrace
app/controllers/admin/users_controller.rb:59 - Admin::UsersController#destroy
app/controllers/application_controller/with_locale.rb:19 - ApplicationController::WithLocale#switch_locale
View full stacktrace
Created automatically via Bugsnag