MingxuanGame
|
c43ca883a5
|
refactor(database): migrate to sqlmodel
|
2025-07-24 20:49:07 +08:00 |
|
jimmy-sketch
|
6647e5cd04
|
fix: 将 app/ 下的所有代码中与sql相关的所有隐式类型转换替换为显式类型转换
|
2025-07-24 12:30:24 +08:00 |
|
MingxuanGame
|
4a16a9598f
|
fxxk merge
|
2025-07-23 18:56:53 +08:00 |
|
MingxuanGame
|
7b5a50493a
|
use uv & make lint happy
|
2025-07-23 18:03:30 +08:00 |
|
jimmy-sketch
|
451ef2f1d2
|
fix: 重构用户相关数据库模型和关系
- 更新了 User 类中的多个关系属性,修正了部分属性的拼写错误和关联关系
- 修改了 LazerUserProfileSections 类的关联关系
- 修正了 LazerUserBanners 类的结构和关联关系
- 更新了 create_sample_data.py 中的统计类引用
- 在 config.py 中更新了数据库连接 URL
|
2025-07-19 21:33:11 +08:00 |
|
jimmy-sketch
|
91f15d572d
|
feat(database): 新增用户资料相关数据模型和处理逻辑
- 新增 LazerUserProfileSections、LazerUserBanners、LazerUserBadge、LazerUserMonthlyPlaycounts、LazerUserPreviousUsername 和 LazerUserReplaysWatched 数据模型- 更新 User 数据模型,添加与新模型的关联关系
- 修改 convert_db_user_to_api_user 函数,支持新数据模型的处理- 完善 MockProfile 类,添加新模型的默认值和辅助方法
|
2025-07-19 20:43:36 +08:00 |
|
jimmy-sketch
|
757166b665
|
feat: 优化用户资料构建过程
- 添加 LazerUserProfileSections 模型,用于自定义用户资料顺序
- 在 User 模型中添加 lazer_profile_order 关系
- 优化 utils.py 中的 build_user_profile 函数,使用数据库中的计数信息
-修复默认计数信息中的 recent_scores_count 和 socres_first_count 属性
|
2025-07-19 16:09:57 +08:00 |
|
咕谷酱
|
c0246440f3
|
上传源码
|
2025-07-19 12:08:10 +08:00 |
|