Re: Autogenerate - unknown table popping up in sqlalchemy.exc.NoSuchTableError

2015-06-04 Thread Wavemaker
Well, it was sqlite! Currently moving to postgresql principally for other reasons. Thanks anyway for your response! On Monday, 1 June 2015 05:33:23 UTC+2, Michael Bayer wrote: On 5/31/15 7:00 PM, Wavemaker wrote: Well, upon digging further myself, I noticed that was an old foreign key

Re: Autogenerate - unknown table popping up in sqlalchemy.exc.NoSuchTableError

2015-05-31 Thread Mike Bayer
On 5/31/15 7:00 PM, Wavemaker wrote: Well, upon digging further myself, I noticed that was an old foreign key in my Pictures table referring to the non-existant auth_user table: sql: last_changed_user_id integer NOT NULL REFERENCES auth_user (id) This was not referenced anymore in the

Re: Autogenerate - unknown table popping up in sqlalchemy.exc.NoSuchTableError

2015-05-29 Thread Mike Bayer
On 5/29/15 6:36 PM, Wavemaker wrote: Hello All, I'm trying to use Alembic for versioning my Camelot (http://www.python-camelot.com) schema, which is essentially sqlalchemy on the database side. When using autogenerate I get a NoSuchTableError. The odd thing is that I get this error for a