yeg
2026-09-17 1805a7b9648ff9cfbd19129255a5a4fa62f0261e
refs
用户 yeg <1347747024@qq.com>
星期四, 九月 17, 2026 18:46 +0800
提交者 yeg <1347747024@qq.com>
星期四, 九月 17, 2026 18:46 +0800
提交1805a7b9648ff9cfbd19129255a5a4fa62f0261e
目录 a6afce8254cd1df78b89693f4225f506e2fcc5f2 目录 | zip | gz
parent 75e20ed49063feac161beca13aba24147424d5a7 查看 | 对比
chore(db): 迁移编号让位到 V151–V154,解与远端 V148–V150 的撞号

共同祖先只到 V147:远端 shinnosuke 的 d2d27be/38dd07d 先推送了 V148__policy_article_top_time、
V149__clear_service_hero_placeholders、V150__merchant_hero_image,而本地(未推送)同期占了
V148__merchant_capability_sync_until、V149__payment_attempt_convergence、
V150__merchant_numeric_code_attempt、V151__order_cancel_request。git 对此不报冲突,Flyway 会直接报
「同一版本两个迁移」,所以按「已推送的优先」让号:

V148 → V151(merchant_capability_sync_until)
V149 → V152(payment_attempt_convergence)
V150 → V153(merchant_numeric_code_attempt)
V151 → V154(order_cancel_request)

- 两个 scripts/dev-schema-*.sql 同步改名;四个迁移文件头与两个脚本头都留了让位记录(写明原编号与
撞了谁),下一个人查编号时能对上。
- 引用同步更新:docs/agents/testing.md(存储过程写法那条、首次拿到新列的举例)、apply-sql-file.ps1
的用法示例、docs/adr/0003 的修订段、.scratch 的 plan.md;feature README 补「迁移编号让位」一节。
- 测试库按 docs/agents/testing.md 用 reset-test-db.ps1 重建(旧编号已在 Flyway history 里,不再解析得到)。

验证:全量 376 项,仅 testing.md 记录的 3 项基线失败(含对方新加的 PortalServiceTests);后台
talent-card-admin 的 vue-tsc -b 通过。两个小程序工程本机无法编译,未跑。
6 文件已重命名
5个文件已修改
47 ■■■■■ 已修改文件
.scratch/pending-order-payment-flow/README.md 17 ●●●●● 对比 | 查看 | 原始文档 | blame | 历史
.scratch/pending-order-payment-flow/plan.md 4 ●●●●● 对比 | 查看 | 原始文档 | blame | 历史
docs/adr/0003-payment-converges-per-attempt.md 2 ●●●●● 对比 | 查看 | 原始文档 | blame | 历史
docs/agents/testing.md 6 ●●●●● 对比 | 查看 | 原始文档 | blame | 历史
talent-card-server/scripts/apply-sql-file.ps1 4 ●●●●● 对比 | 查看 | 原始文档 | blame | 历史
talent-card-server/scripts/dev-schema-v152-payment-attempt.sql 7 ●●●●● 对比 | 查看 | 原始文档 | blame | 历史
talent-card-server/scripts/dev-schema-v154-order-cancel-request.sql 3 ●●●●● 对比 | 查看 | 原始文档 | blame | 历史
talent-card-server/src/main/resources/db/migration/V151__merchant_capability_sync_until.sql 1 ●●●●● 对比 | 查看 | 原始文档 | blame | 历史
talent-card-server/src/main/resources/db/migration/V152__payment_attempt_convergence.sql 1 ●●●●● 对比 | 查看 | 原始文档 | blame | 历史
talent-card-server/src/main/resources/db/migration/V153__merchant_numeric_code_attempt.sql 1 ●●●●● 对比 | 查看 | 原始文档 | blame | 历史
talent-card-server/src/main/resources/db/migration/V154__order_cancel_request.sql 1 ●●●●● 对比 | 查看 | 原始文档 | blame | 历史