fix: Rename on_delete parameter to ondelete (#25424)

This commit is contained in:
John Bodley 2023-09-26 16:00:37 -07:00 committed by GitHub
parent 296ff17f19
commit 893b45feef
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -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,
),
)