Ying Jiang
database stuff + api to read + alembic (for tracking schema changes) + sqlmodle + uvicorn
a1d11a9
raw
history blame
308 Bytes
Generic single-database configuration for Alembic.
Run from backend directory:
alembic revision --autogenerate -m "description"
alembic upgrade head
alembic stamp <revision> # set DB to a revision without running migrations
alembic current # show current revision
alembic downgrade -1