]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- mysql: a column of type TIMESTAMP now defaults to NULL if
authorMike Bayer <mike_mp@zzzcomputing.com>
Fri, 18 Dec 2009 20:09:14 +0000 (20:09 +0000)
committerMike Bayer <mike_mp@zzzcomputing.com>
Fri, 18 Dec 2009 20:09:14 +0000 (20:09 +0000)
commitbc9e742b646f8dcd3e8a35c2ecda96bebed87d3c
tree3a3899ae6b7fa4769235a912a4d52ea7f5d00250
parentfc175f478b4799ba69f457203103f48bdaa6a96d
- mysql:  a column of type TIMESTAMP now defaults to NULL if
"nullable=False" is not passed to Column(), and no default
is present. This is now consistent with all other types,
and in the case of TIMESTAMP explictly renders "NULL"
due to MySQL's "switching" of default nullability
for TIMESTAMP columns. [ticket:1539]
CHANGES
lib/sqlalchemy/dialects/mysql/base.py
test/dialect/test_mysql.py