Delete User return db error

I want to delete a user, which is also the admin of an organization. Do I need to remove all admin, data manual? Can I also do a "soft" delete and just flag the user that he is deleted instead of removing him from the database?

update or delete on table "pd_user" violates foreign key constraint "pd_member_user_id_pd_user_id_fk" on table "pd_member"
Was this page helpful?