]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- The :paramref:`.Column.nullable` flag is implicitly set to ``False``
authorMike Bayer <mike_mp@zzzcomputing.com>
Fri, 20 Jun 2014 22:03:28 +0000 (18:03 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Fri, 20 Jun 2014 22:03:52 +0000 (18:03 -0400)
commitca99fca50d2ce9f42833a074873137388ef88592
tree1ee5f821ee1293da03b462a1cf1811e190ffc7a9
parent634127c3fce9e723b62617e5600e78d83eb2553e
- The :paramref:`.Column.nullable` flag is implicitly set to ``False``
when that :class:`.Column` is referred to in an explicit
:class:`.PrimaryKeyConstraint` for that table.  This behavior now
matches that of when the :class:`.Column` itself has the
:paramref:`.Column.primary_key` flag set to ``True``, which is
intended to be an exactly equivalent case.
fixes #3023
doc/build/changelog/changelog_09.rst
lib/sqlalchemy/sql/schema.py
test/sql/test_metadata.py