mirror of https://github.com/apache/superset.git
fix: Rename on_delete parameter to ondelete (#25424)
This commit is contained in:
parent
296ff17f19
commit
893b45feef
|
@ -130,13 +130,13 @@ DashboardRoles = Table(
|
||||||
Column(
|
Column(
|
||||||
"dashboard_id",
|
"dashboard_id",
|
||||||
Integer,
|
Integer,
|
||||||
ForeignKey("dashboards.id", on_delete="CASCADE"),
|
ForeignKey("dashboards.id", ondelete="CASCADE"),
|
||||||
nullable=False,
|
nullable=False,
|
||||||
),
|
),
|
||||||
Column(
|
Column(
|
||||||
"role_id",
|
"role_id",
|
||||||
Integer,
|
Integer,
|
||||||
ForeignKey("ab_role.id", on_delete="CASCADE"),
|
ForeignKey("ab_role.id", ondelete="CASCADE"),
|
||||||
nullable=False,
|
nullable=False,
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue