Re: Stray changes detected only sometimes with revision --autogenerate

2020-09-30 Thread Daniel Krebs
uses to get all the schema names. On Tue, Sep 29, 2020, at 4:01 PM, Daniel Krebs wrote: Hi Mike, thanks a bunch for the quick response! >> This is supported by SQLAlchemy more robustly using the >> schema_translate_map feature, see >> https://docs.sqlalchemy.org/en/13/co

Re: Stray changes detected only sometimes with revision --autogenerate

2020-09-29 Thread Daniel Krebs
Hi Mike, thanks a bunch for the quick response! This is supported by SQLAlchemy more robustly using the schema_translate_map feature, see https://docs.sqlalchemy.org/en/13/core/connections.html#schema-translating .   this feature allows schema names to render explicitly without the need to

Stray changes detected only sometimes with revision --autogenerate

2020-09-29 Thread Daniel Krebs
Hi, we're having rather strange problems with Alembic 1.4.2 and Postgres 12, detecting stray changes *sometimes* but also sometimes not. I already dug through the code but I increasingly get the feel that this is rooted somewhere in the interaction between alembic and Postgres. But let me