[sqlalchemy] Re: nullable=True doesn't work for TIMESTAMP under mysql

2009-09-13 Thread Michael Bayer
On Sep 13, 2009, at 7:27 PM, andrei wrote: I try to create the table with column: Column('ends_at', TIMESTAMP, nullable=True, server_default=) That results to SQL: CREATE TABLE news ( ends_at TIMESTAMP DEFAULT '', ) But mysql TIMESTAMP columns are NOT

[sqlalchemy] Re: nullable=True doesn't work for TIMESTAMP under mysql

2009-09-13 Thread Andrei
Thank you for the clarification! On Mon, Sep 14, 2009 at 5:47 AM, Michael Bayer mike...@zzzcomputing.comwrote: On Sep 13, 2009, at 7:27 PM, andrei wrote: I try to create the table with column: Column('ends_at', TIMESTAMP, nullable=True, server_default=) That results to SQL: