Re: [sqlalchemy] restoring the TINYINT(1) to Boolean

2010-06-01 Thread Mike Bernson
Thanks Setting column.type worked like a charm for me. Michael Bayer wrote: On May 31, 2010, at 10:01 PM, Mike Bernson wrote: I would like to restore the TINYINT(1) for all tables. I am using reflection to get the tables. The docs talk about passing in override value for the columns that I

[sqlalchemy] restoring the TINYINT(1) to Boolean

2010-05-31 Thread Mike Bernson
I would like to restore the TINYINT(1) for all tables. I am using reflection to get the tables. The docs talk about passing in override value for the columns that I to want change from the database as parameters to the table object on when reflecting. Since I have no idea what columns are

Re: [sqlalchemy] restoring the TINYINT(1) to Boolean

2010-05-31 Thread Michael Bayer
On May 31, 2010, at 10:01 PM, Mike Bernson wrote: I would like to restore the TINYINT(1) for all tables. I am using reflection to get the tables. The docs talk about passing in override value for the columns that I to want change from the database as parameters to the table object on

Re: [sqlalchemy] restoring the TINYINT(1) to Boolean

2010-05-31 Thread Mike Bernson
will try just setting column.type I have not thought about doing that. Setting the dialect.ischema_names will not work because I only want to get tinyint(1) not all tinyint. Michael Bayer wrote: On May 31, 2010, at 10:01 PM, Mike Bernson wrote: I would like to restore the TINYINT(1) for all