I'm attempting to configure SQLAlchemy Alembic for my Pyramid project and I want to use my developement.ini (or production.ini) for the configuration settings for Alembic. Is it possible to specify the .ini file I wish to use anywhere within Alembic?
Just specify alembic -c /some/path/to/another.ini
when running alembic commands. You could even put the [alembic]
section in your development.ini and production.ini files and just alembic -c production.ini upgrade head
.