From 15b1e14db21d2fa0bbc7b68e80883efb6334ad30 Mon Sep 17 00:00:00 2001 From: Federico Caselli Date: Mon, 24 Feb 2025 12:27:50 +0100 Subject: [PATCH] fix docs typo Fixes: #12371 Change-Id: I86e6e34d407223d66b2cbcb21ec10dc292676449 --- lib/sqlalchemy/sql/schema.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/sqlalchemy/sql/schema.py b/lib/sqlalchemy/sql/schema.py index b86e5b8b09..a9c21eabc4 100644 --- a/lib/sqlalchemy/sql/schema.py +++ b/lib/sqlalchemy/sql/schema.py @@ -2843,7 +2843,7 @@ class ForeignKey(DialectKWArgs, SchemaItem): :param ondelete: Optional string. If set, emit ON DELETE when issuing DDL for this constraint. Typical values include CASCADE, - DELETE and RESTRICT. + SET NULL and RESTRICT. :param deferrable: Optional bool. If set, emit DEFERRABLE or NOT DEFERRABLE when issuing DDL for this constraint. @@ -4696,7 +4696,7 @@ class ForeignKeyConstraint(ColumnCollectionConstraint): :param ondelete: Optional string. If set, emit ON DELETE when issuing DDL for this constraint. Typical values include CASCADE, - DELETE and RESTRICT. + SET NULL and RESTRICT. :param deferrable: Optional bool. If set, emit DEFERRABLE or NOT DEFERRABLE when issuing DDL for this constraint. -- 2.47.3