refac
This commit is contained in:
1 parent
560b9228fd
commit
08efabc696
4 files changed
+9
-8
No files matched your search
+1
-1
@@ -75,7 +75,7 @@ def run_migrations():
|
||||
from alembic.config import Config
|
||||
from alembic import command
|
||||
|
||||
alembic_cfg = Config("alembic.ini")
|
||||
alembic_cfg = Config(BACKEND_DIR / "alembic.ini")
|
||||
command.upgrade(alembic_cfg, "head")
|
||||
except Exception as e:
|
||||
print(f"Error: {e}")
|
||||
|
||||
Reference in new issue
Block a user