This is an automated email from the ASF dual-hosted git repository.
johnbodley pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/superset.git
The following commit(s) were added to refs/heads/master by this push:
new 893b45feef fix: Rename on_delete parameter to ondelete (#25424)
893b45feef is described below
commit 893b45feef306cb59409702bfd39cfcf3589f6ef
Author: John Bodley <[email protected]>
AuthorDate: Tue Sep 26 16:00:37 2023 -0700
fix: Rename on_delete parameter to ondelete (#25424)
---
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,
),
)