feat: 服务端集成自动打包流程

This commit is contained in:
shen
2026-07-17 22:34:04 +08:00
parent a2437a039d
commit d1f070b251
221 changed files with 7284 additions and 447 deletions
+3
View File
@@ -52,6 +52,9 @@ def _seed_admin():
def init_db():
"""初始化数据库"""
# Load model declarations before create_all so a standalone startup creates every table.
from . import models # noqa: F401
Base.metadata.create_all(bind=engine)
_migrate_db()
_seed_admin()