unable to delete user. leads to foreign key violation
I try to delete a user account from foreman. But I get a foreign key violation error.
Oops, we're sorry but something went wrong ERROR: update or delete on table "users" violates foreign key constraint "fk_rails_51975e21a8" on table "notification_recipients" DETAIL: Key (id)=(16) is still referenced from table "notification_recipients".
Attached you can find the log corresponding with the error.
May a useful information is that the user data comes from a active directory database.