]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Support for three levels of column nullability: NULL, NOT NULL, and the database...
authorMichael Trier <mtrier@gmail.com>
Fri, 12 Dec 2008 04:49:24 +0000 (04:49 +0000)
committerMichael Trier <mtrier@gmail.com>
Fri, 12 Dec 2008 04:49:24 +0000 (04:49 +0000)
commitf9b8641269b17a5f29ed58df46286f881d82035f
tree2c1e8f9b5a9e812fdb3fdfc1e55387f5ddfa2aca
parent1d90146210b0919294a99468a916d4084fc14c7d
Support for three levels of column nullability: NULL, NOT NULL, and the database's configured default.

The default Column configuration (nullable=True) will now generate NULL in the DDL. Previously no specification was emitted and the database default would take effect (usually NULL, but not always).  To explicitly request the database default, configure columns with nullable=None and no specification will be emitted in DDL. Fixes #1243.
CHANGES
lib/sqlalchemy/databases/mssql.py
test/dialect/mssql.py