Next.js Discord

Discord Forum

Supabase deleting user from users table error

Unanswered
Spectacled bear posted this in #help-forum
Open in Discord
Spectacled bearOP
Hello guys, I have deleted all of the data from all of my table and I wanted to delete a user from the public.users table in supabase. But I couldnt because I ran into an error which I havent figured out. The error is this:Failed to delete user: update or delete on table "users" violates foreign key constraint "objects_owner_fkey" on table "objects". Meaning that the user is still in use and its id and it prevents from deleting it, but I literally have no data in my app whatsoever. Thanks for helping me in any way

0 Replies