Skip to content

Commit

Permalink
fix: Rename on_delete parameter to ondelete (#25424)
Browse files Browse the repository at this point in the history
(cherry picked from commit 893b45f)
  • Loading branch information
john-bodley committed Sep 26, 2023
1 parent 721db8a commit eacdbdd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions superset/models/dashboard.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,13 +130,13 @@ def copy_dashboard(_mapper: Mapper, connection: Connection, target: Dashboard) -
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,
),
)
Expand Down

0 comments on commit eacdbdd

Please sign in to comment.