mirror of
https://github.com/apache/superset.git
synced 2026-04-19 16:14:52 +00:00
chore(dao): Add explicit ON DELETE CASCADE for ownership (#24628)
This commit is contained in:
@@ -573,9 +573,6 @@ class TestImportDashboardsCommand(SupersetTestCase):
|
||||
|
||||
assert dashboard.owners == [admin]
|
||||
|
||||
dashboard.owners = []
|
||||
chart.owners = []
|
||||
database.owners = []
|
||||
db.session.delete(dashboard)
|
||||
db.session.delete(chart)
|
||||
db.session.delete(dataset)
|
||||
|
||||
Reference in New Issue
Block a user