]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- Fixed bug in enhanced constraint-attachment logic introduced in
authorMike Bayer <mike_mp@zzzcomputing.com>
Sat, 2 May 2015 14:27:03 +0000 (10:27 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Sat, 2 May 2015 14:27:03 +0000 (10:27 -0400)
commit77db0ef6ac03d0f6f5622be373f7f85536924d3e
tree7d7bb0de993831b349a195711930e0f4a5d20bc8
parentb2196dd953e6313fcd688530aeeccfd013c61069
- Fixed bug in enhanced constraint-attachment logic introduced in
:ticket:`3341` where in the unusual case of a constraint that refers
to a mixture of :class:`.Column` objects and string column names
at the same time, the auto-attach-on-column-attach logic will be
skipped; for the constraint to be auto-attached in this case,
all columns must be assembled on the target table up front.
Added a new section to the migration document regarding the
original feature as well as this change.
fixes #3411
doc/build/changelog/changelog_10.rst
doc/build/changelog/migration_10.rst
lib/sqlalchemy/sql/schema.py
test/sql/test_constraints.py