[sqlalchemy] table reflection tometadata()

2010-03-08 Thread Grimsqueaker
I am trying to reflect a table from a database and use table.tometadata() to copy it into an identical database. This usually works, but when I try to call table.create() on a certain new table, I get a ProgrammingError. I can see that this may be due the fact that the server_default on one of the

Re: [sqlalchemy] table reflection tometadata()

2010-03-08 Thread Michael Bayer
Grimsqueaker wrote: I am trying to reflect a table from a database and use table.tometadata() to copy it into an identical database. This usually works, but when I try to call table.create() on a certain new table, I get a ProgrammingError. I can see that this may be due the fact that the