chore: small improvements

This commit is contained in:
ITQ
2025-11-20 07:34:26 +03:00
parent 52f3072729
commit 8e913479bc
5 changed files with 45 additions and 43 deletions
+3 -5
View File
@@ -74,12 +74,10 @@ lints-run:
[group("Migrations")]
[doc("Запуск миграции")]
migrations-run tag="head":
docker compose run --remove-orphans migrations alembic upgrade {{tag}}
docker compose down postgresql
CONFIGURATION_PATH=config.toml alembic upgrade {{tag}}
[no-cd]
[group("Migrations")]
[doc('Создание миграции')]
migrations-make message:
docker compose run migrations alembic revision --autogenerate -m "{{message}}"
docker compose down postgresql
migrations-make message="":
CONFIGURATION_PATH=config.toml alembic revision --autogenerate -m "{{message}}"