feat(database): use alembic

This commit is contained in:
MingxuanGame
2025-07-28 13:09:55 +00:00
parent 80310d450b
commit 9b889bc602
18 changed files with 329 additions and 10 deletions

View File

@@ -94,7 +94,7 @@ def main():
# 获取脚本路径
script_dir = os.path.dirname(__file__)
migrations_dir = os.path.join(script_dir, "migrations")
migrations_dir = os.path.join(script_dir, "migrations_old")
# 第一步: 创建表结构
print("\n步骤 1: 创建 lazer 专用表结构...")