续 V22。handoff_event/appeal_material/authorization_summary/appeal_event/appeal 5 表的 (tenant_id,command_id) 在 V15 被建为部分唯一索引(WHERE command_id IS NOT NULL),而对应 mapper insertIgnore 发无谓词 ON CONFLICT (tenant_id,command_id)→PostgreSQL 无法用部分索引作仲裁器→这些链路(handoff/申诉/授权摘要) 活体时 500(潜伏,流程尚无活体触达)。grep 实证仅这 5 表 mapper 确发无谓词 ON CONFLICT;其余 market 部分 command 索引未被当 arbiter,不动。 - V23__fix_market_remaining_command_unique_index.sql:5 表 部分→完整唯一索引(对齐 command/purchase 约定)。 - P1rMarketCommandIndexFlywayMigrationIT(真实 PG):clean→迁移 V1→V23→断言 V22/V23 修复的 9 个命令索引 均为完整唯一索引(可作 ON CONFLICT 仲裁器),Tests run 1/0F。与 target=V15 的 P1rMarketFlywayMigrationIT 互补。 - V23 已应用 muse_slice_live;全新 muse_p1r_cmdidx_test 库迁移验证。 进度总账 §五C/§四 就地更新。 Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Muse SQL Seed Scope
当前 Muse 工程清理只维护 mysql/ruoyi-vue-pro.sql 与 mysql/quartz.sql。
其它数据库方言目录保留为上游参考,但没有同步执行 Muse 清理覆盖层,当前不作为可直接初始化 Muse 环境的脚本使用。需要启用其它数据库时,先把 MySQL 清理覆盖层等价迁移到对应方言脚本,并重新跑 fresh DB 初始化验证。