[sqlalchemy] SQLAlchemy column defaults are missing on .create()

2006-11-05 Thread claudio . s . martinez
>>> metadata = BoundMetaData('sqlite:///:memory:') >>> metadata.engine.echo = True >>> t = Table('sqlalchemy_test', metadata, ... Column('int_1', Integer, ColumnDefault(10)), ... Column('int_2', Integer, default=10), ... Column('str_1', String, ColumnDefault('hello')), ... Column('str_2', String,

[sqlalchemy] Disregard the last message please

2006-11-05 Thread claudio . s . martinez
I cannot reply to it because I'm having a 8 hour lag on my posts in Google groups (no idea why) I was having problems getting the defaults to the database structure, after checking get_column_default_string from the ANSI schema creator I realized that it was wrong to skip the PassiveDefault expla