Re: [sqlalchemy] Append column

2010-03-13 Thread Michael Bayer
On Mar 12, 2010, at 10:14 AM, YAD wrote: Hello from sqlalchemy import * engine = create_engine('mysql://root:r...@localhost/sqlalchemy') meta = MetaData(engine) tb = Table('account', meta, autoload = True) tb.append_column(Column('c',String(50))) this code does not work properly, it

[sqlalchemy] Append column

2010-03-12 Thread YAD
Hello from sqlalchemy import * engine = create_engine('mysql://root:r...@localhost/sqlalchemy') meta = MetaData(engine) tb = Table('account', meta, autoload = True) tb.append_column(Column('c',String(50))) this code does not work properly, it adds a column in the table but in fact the table