]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Allow NUMERIC()/DECIMAL() IDENTITY columns
authorGord Thompson <gord@gordthompson.com>
Tue, 14 Jun 2022 16:09:04 +0000 (10:09 -0600)
committerMike Bayer <mike_mp@zzzcomputing.com>
Sat, 18 Jun 2022 17:57:54 +0000 (13:57 -0400)
commita134956c4e4564844c33302ddf27a70102fe00a8
tree3a7d9a26c26b58248bb3a366c43e21b14ed05df0
parent6d889b03dcd42b531001aeec2737949dca41d6d8
Allow NUMERIC()/DECIMAL() IDENTITY columns

Fixed issue where :class:`.Table` objects that made use of IDENTITY columns
with a :class:`.Numeric` datatype would produce errors when attempting to
reconcile the "autoincrement" column, preventing construction of the
:class:`.Column` from using the :paramref:`.Column.autoincrement` parameter
as well as emitting errors when attempting to invoke an :class:`.Insert`
construct.

Fixes: #8111
Change-Id: Iaacc4eebfbafb42fa18f9a1a4f43cb2b6b91d28a
doc/build/changelog/unreleased_14/8111.rst [new file with mode: 0644]
lib/sqlalchemy/sql/schema.py
lib/sqlalchemy/sql/sqltypes.py
lib/sqlalchemy/sql/type_api.py
test/dialect/mssql/test_query.py