Skip to content

Commit ddbe612

Browse files
committed
feat: add project path to python path
1 parent 8d58ec6 commit ddbe612

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

backend/alembic/env.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
# alembic/env.py
2+
import sys
3+
from os.path import abspath, dirname
4+
5+
sys.path.insert(0, dirname(dirname(abspath(__file__))))
6+
17
import os
28
from logging.config import fileConfig
39

0 commit comments

Comments
 (0)