This commit is contained in:
2026-03-14 00:11:21 +03:00
parent b2139ed440
commit 468bdf817a
70 changed files with 337 additions and 47 deletions

View File

@@ -1,6 +1,6 @@
VENV=source ./.venv/bin/activate;
ALEMBIC=alembic -c ./server/backend/database/alembic/alembic.ini
.PHONY: run run_debug migrate_head migrate_down migrate_history migrate_current migrate
.PHONY: run run_debug migrate_head migrate_down migrate_history migrate_current migrate_heads migrate_stamp migrate
run:
$(VENV) python run.py --user_name admin
run_debug:
@@ -13,5 +13,9 @@ migrate_history:
$(VENV) $(ALEMBIC) history
migrate_current:
$(VENV) $(ALEMBIC) current
migrate_heads:
$(VENV) $(ALEMBIC) heads
migrate_stamp:
$(VENV) $(ALEMBIC) stamp head
migrate:
$(VENV) $(ALEMBIC) revision --autogenerate