Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Pyramid プロジェクト用に SQLAlchemy Alembic を構成しようとしていますが、Alembic の構成設定に自分の development.ini (または production.ini) を使用したいと考えています。Alembic 内の任意の場所で使用したい .ini ファイルを指定することはできますか?
alembic -c /some/path/to/another.inialembic コマンドを実行するときに指定するだけです。[alembic]セクションを development.ini および production.ini ファイルに配置して、 alembic -c production.ini upgrade head.
alembic -c /some/path/to/another.ini
[alembic]
alembic -c production.ini upgrade head