Skip autogenerate for an engine in multiple database #1252
-
Describe the use case I set up Alembic with multiple databases, including PostgreSQL and ClickHouse. I want Alembic to autogenerate with the PostgreSQL database, but skip autogeneration for the ClickHouse. Databases / Backends / Drivers targeted Example Use With ClickHouse: I want to use a raw query in database migration because my database is very difficult. Additional context
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Hi, Can't you just configure alembic to only use the postgresql engine? |
Beta Was this translation helpful? Give feedback.
-
I can't @CaselIT |
Beta Was this translation helpful? Give feedback.
I applied to create an alembic.ini file for each database engine that can work, but I hope my case can work with multiple database templates in Alembic, and I can configure it correctly with those.
Thanks for your support, @CaselIT