chore: 整合 migration 文件并优化配置

- 整合 18 个分散的 migration 文件为 5 个模块化文件
- settings.py 支持 .env.local 覆盖 .env
- 移除 user schema 中未使用的 country 字段正则
- 更新 profile protocol 文档移除 country 字段
- pyproject.toml 添加 ruff 到 dev 依赖
- 简化 integration test conftest 邮箱 fixture
This commit is contained in:
ZL-Q
2026-04-29 00:37:45 +08:00
parent dab47f0cb3
commit adb2b3bcc3
27 changed files with 787 additions and 2232 deletions
+1
View File
@@ -53,6 +53,7 @@ markers = ["integration: integration test requiring live backend and workers"]
dev = [
"basedpyright==1.38.2",
"pre-commit==4.5.1",
"ruff>=0.15.12",
]
[tool.basedpyright]