update:1.重构项目数据库初始化和迁移逻辑,使用Alembic数据库管理工具

This commit is contained in:
xiamuceer
2025-12-26 15:05:48 +08:00
parent a5788e75ae
commit f32e51b594
39 changed files with 2249 additions and 2037 deletions
+1
View File
@@ -7,6 +7,7 @@ python-multipart==0.0.20
sqlalchemy==2.0.25
asyncpg==0.29.0 # PostgreSQL异步驱动
psycopg2-binary==2.9.9 # PostgreSQL同步驱动(用于迁移脚本)
alembic==1.14.0 # 数据库迁移工具
# 数据验证
pydantic==2.12.4