From 9fedcc129d499ef739807331f6247817cd810830 Mon Sep 17 00:00:00 2001 From: SkyLi Date: Fri, 25 Sep 2026 11:16:07 +0800 Subject: [PATCH] fix: support local migrations and ignore build cache --- .gitignore | 1 + backend/alembic.ini | 1 + 2 files changed, 2 insertions(+) diff --git a/.gitignore b/.gitignore index e3557f3..41a0145 100644 --- a/.gitignore +++ b/.gitignore @@ -10,6 +10,7 @@ __pycache__/ venv/ node_modules/ dist/ +*.tsbuildinfo build/ coverage/ .coverage diff --git a/backend/alembic.ini b/backend/alembic.ini index 8da6ede..32afd16 100644 --- a/backend/alembic.ini +++ b/backend/alembic.ini @@ -1,3 +1,4 @@ [alembic] script_location = migrations +prepend_sys_path = . sqlalchemy.url = sqlite:///./wisegrade.db