Skip to content

Commit caee84a

Browse files
committed
feat(backend): add alembic scripts
1 parent 1ce54fd commit caee84a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

backend/Pipfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,6 @@ uvicorn = "*"
2222
python_version = ">=3.12"
2323

2424
[scripts]
25-
dev = "fastapi dev main.py"
25+
dev = "fastapi dev main.py"
26+
makemigrations = "alembic revision --autogenerate"
27+
migrate = "alembic upgrade head"

0 commit comments

Comments
 (0)