From: Federico Caselli Date: Mon, 24 Feb 2025 11:27:50 +0000 (+0100) Subject: fix docs typo X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=15b1e14db21d2fa0bbc7b68e80883efb6334ad30;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git fix docs typo Fixes: #12371 Change-Id: I86e6e34d407223d66b2cbcb21ec10dc292676449 --- 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.