首次提交

This commit is contained in:
2026-09-23 13:56:49 +08:00
parent 7c235aab6e
commit 0e47b1bba4
12 changed files with 364 additions and 176 deletions
+9
View File
@@ -0,0 +1,9 @@
"""
模型统一导出模块
- Alembic(Flask-Migrate 底层)通过扫描此文件发现所有模型
- 新增模型后必须在此处添加 import,否则 `flask db migrate` 无法检测到新表
- __all__ 明确声明公开接口,避免意外导入内部模块
"""
from app.models.user import User
__all__ = ['User']