Hi Daniel -
I didn't expect it to go so well, but that's great!
On Wed, Sep 30, 2020, at 1:52 PM, Daniel Krebs wrote:
> Hi Mike,
>
> I adapted our setup to the new cookbook recipe and it basically fixed
> both problems! I don't need to maintain my
> patches anymore (thanks to setting
>
Hi Mike,
I adapted our setup to the new cookbook recipe and it basically fixed
both problems! I don't need to maintain my
patches anymore (thanks to setting
`connection.dialect.default_schema_name`, this did the trick!) and the
detected stray changes are also gone. I did some investigation wit
Hi, so I added a quick recipe to the site just now just so that the "set search
path" idea is documented to some extent, that is at
https://alembic.sqlalchemy.org/en/latest/cookbook.html#rudimental-schema-level-multi-tenancy-for-postgresql-databases
.
Re: autogenerate, if you have many schema
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 m
On Tue, Sep 29, 2020, at 3:35 PM, Mike Bayer wrote:
>
>
> On Tue, Sep 29, 2020, at 9:17 AM, Daniel Krebs wrote:
>> 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 co
On Tue, Sep 29, 2020, at 9:17 AM, Daniel Krebs wrote:
> 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
> somewhe
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 expl