chore: Add explicit ON DELETE CASCADE for dashboard_slices (#24938)

This commit is contained in:
John Bodley
2023-08-10 06:56:11 -07:00
committed by Michael S. Molina
parent 309582516d
commit 9b3ec806cd
9 changed files with 58 additions and 14 deletions

View File

@@ -181,7 +181,6 @@ class TestChartApi(SupersetTestCase, ApiOwnersTestCaseMixin, InsertChartMixin):
self.new_dashboard.dashboard_title = "New Dashboard"
self.new_dashboard.slug = "new_slug"
self.new_dashboard.owners = [admin]
self.new_dashboard.slices = []
self.new_dashboard.published = False
db.session.add(self.new_dashboard)