api js
This commit is contained in:
6
makefile
6
makefile
@@ -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
|
||||
Reference in New Issue
Block a user