Skip to content

Commit

Permalink
fix: Rename on_delete parameter to ondelete (apache#25424)
Browse files Browse the repository at this point in the history
  • Loading branch information
john-bodley authored Sep 26, 2023
1 parent 296ff17 commit 893b45f
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 893b45f

Please sign in to comment.