Fix and update alembic env and ini (#474)

This commit is contained in:
Wu Clan
2024-12-11 19:55:46 +08:00
committed by GitHub
parent f90b4667c3
commit a9b9b58290
3 changed files with 82 additions and 49 deletions
+1 -1
View File
@@ -9,7 +9,7 @@ from pathlib import Path
BasePath = Path(__file__).resolve().parent.parent
# alembic 迁移文件存放路径
ALEMBIC_Versions_DIR = os.path.join(BasePath, 'alembic', 'versions')
ALEMBIC_VERSION_DIR = os.path.join(BasePath, 'alembic', 'versions')
# 日志文件路径
LOG_DIR = os.path.join(BasePath, 'log')