Well - I don't know what's going on, but I did find a workaround (for me at 
least, your mileage may vary), I set server_default to this:

*date_added = Column(u'dateAdded', TIMESTAMP(), 
server_default=text('CURRENT_TIMESTAMP'), nullable=False)*
*
*
Which gives me:

*CREATE TABLE foo (*
* id CHAR(36) NOT NULL, *
* `dateAdded` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, *
* reason TEXT, *
* PRIMARY KEY (id)*
*)*
*
*
Which is what I want. Still a weird issue though. Thanks!

-- 
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/sqlalchemy/-/F3iCzHJKvXwJ.
To post to this group, send email to sqlalchemy@googlegroups.com.
To unsubscribe from this group, send email to 
sqlalchemy+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/sqlalchemy?hl=en.

Reply via email to