XuqmGroup-Server/xuqm-bugcollect-service
XuqmGroup a934abe7aa fix(db): 修复 sourcemap 上传因唯一约束缺少 build_id 导致 HTTP 500
uk_map 约束为 (app_key, platform, app_version, bundle_name),未包含
build_id。Gradle 插件每次构建生成不同 buildId,服务端查不到记录后尝试
INSERT,触发 Duplicate entry 约束冲突返回 500。

V8 migration:删除旧约束,重建为
(app_key, platform, app_version, build_id, bundle_name)。
MySQL UNIQUE 对 NULL 视为不相等,历史 build_id=NULL 记录不受影响;
应用层已通过 findByBuildIdIsNull 防止 NULL 记录重复插入。

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-24 15:19:03 +08:00
..
docs feat(bugcollect): 更新 API 端点并改进数据结构 2026-06-17 18:02:10 +08:00
src/main fix(db): 修复 sourcemap 上传因唯一约束缺少 build_id 导致 HTTP 500 2026-06-24 15:19:03 +08:00
pom.xml refactor: xuqm-log-service → xuqm-bugcollect-service 2026-06-16 17:39:13 +08:00