]> 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:28 +0000 (18:03 -0400)
commitbd56485f4c156e9c5ffc911d9119803b1de3789f
treeb32b7b5539084638b1f0a5ffce55f5a7c5367a6c
parent42bbb7163adaaa1513c7c4f5212675632be8e030
- 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