GitHub user ChangbingChen added a comment to the discussion: cannot delete user 
"Associated data exists, please delete them first"

> I think there's also a logs table. Tbh deleting a user if quite difficult 
> since cascade hasn't been set on a lot of the foreign key relationships, so 
> you’ll have to find them and delete the records manually.
> 
> If possible, just mark the user as inactive and change all the fields that 
> might cause issues with unique constraints if the same user is trying to sign 
> up again

@nytai , it's great! it works for me. When i tried to delete a user,  it took a 
long time and timed out(log info, [CRITICAL] WORKER TIMEOUT (pid:5783)). So i 
deleted the records of the logs table, and the user can be deleted normally.

GitHub link: 
https://github.com/apache/superset/discussions/40137#discussioncomment-16924808

----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: 
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to