You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by GitBox <gi...@apache.org> on 2022/03/15 08:40:30 UTC

[GitHub] [superset] ChangbingChen commented on issue #13345: cannot delete user "Associated data exists, please delete them first"

ChangbingChen commented on issue #13345:
URL: https://github.com/apache/superset/issues/13345#issuecomment-1067708311


   > 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.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org