Signed-off-by: ITQ <itq.dev@ya.ru>
This commit is contained in:
ITQ
2025-11-22 11:27:15 +03:00
parent 4e0cbfa328
commit 2dd6e53bf8
3 changed files with 37 additions and 3 deletions
+2 -2
View File
@@ -65,10 +65,10 @@ check:
[group("Migrations")]
[doc("Run alembic upgrade")]
migrations-run tag="head":
CONFIGURATION_PATH=infrastructure/configs/backend/config.toml alembic upgrade {{tag}}
CONFIGURATION_PATH=config.toml alembic upgrade {{tag}}
[no-cd]
[group("Migrations")]
[doc("Create new alembic revision")]
migrations-make message="":
CONFIGURATION_PATH=infrastructure/configs/backend/config.toml alembic revision --autogenerate -m "{{message}}"
CONFIGURATION_PATH=config.toml alembic revision --autogenerate -m "{{message}}"