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

Hello,
I have already create and delete users without problem.
We ca consider the cascade delete is existing but for an unknown reason, I have 
also this issue on superset v3.
![image](https://github.com/apache/superset/assets/82046143/af5c9de4-cd73-4eb3-bbe2-32bd7fc6957a)

The message should detail the data to remove.
I will test :

> puting this here for future use:
> 
> ```
> -- user to be deleted is id XXX
> delete from favstar where user_id=XXX;
> delete from key_value where changed_by_fk=XXX;
> delete from key_value where created_by_fk=XXX;
> delete from logs where user_id=XXX;
> delete from ab_user where id=XXX;
> ```



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

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