This is an automated email from the ASF dual-hosted git repository.

johnbodley pushed a commit to branch john-bodley--fix-25349
in repository https://gitbox.apache.org/repos/asf/superset.git

commit b1f97dd6c33e0e0d6f17ff8fe86491fad2b5deb8
Author: John Bodley <[email protected]>
AuthorDate: Tue Sep 26 14:00:56 2023 -0700

    fix: Rename on_delete parameter to ondelete
---
 superset/models/dashboard.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/superset/models/dashboard.py b/superset/models/dashboard.py
index 77c10b333f..0027edaefd 100644
--- a/superset/models/dashboard.py
+++ b/superset/models/dashboard.py
@@ -130,13 +130,13 @@ DashboardRoles = Table(
     Column(
         "dashboard_id",
         Integer,
-        ForeignKey("dashboards.id", on_delete="CASCADE"),
+        ForeignKey("dashboards.id", ondelete="CASCADE"),
         nullable=False,
     ),
     Column(
         "role_id",
         Integer,
-        ForeignKey("ab_role.id", on_delete="CASCADE"),
+        ForeignKey("ab_role.id", ondelete="CASCADE"),
         nullable=False,
     ),
 )

Reply via email to