Re: alembic autogenerated migrations do not see current tables

2018-11-21 Thread Mike Bayer
you need to have include_schemas=True in your env.py: https://alembic.zzzcomputing.com/en/latest/api/runtime.html?highlight=include_schemas#alembic.runtime.environment.EnvironmentContext.configure.params.include_schemas On Wed, Nov 21, 2018 at 11:49 AM Riccardo Magliocchetti wrote: > > Hello, >

alembic autogenerated migrations do not see current tables

2018-11-21 Thread Riccardo Magliocchetti
Hello, for some reason at each migration alembic does not find any table or index and creates them from scratch. Assuming this is not something other people are seeing, the only thing peculiar to our setup is that we are using postgresql schemas. e.g. I've added a deleted column and the diff