feat(M04-B): 完成订单状态机与迁移历史

This commit is contained in:
Codex
2026-06-20 13:53:55 +08:00
parent 725028cb2d
commit 40c891f1b7
19 changed files with 698 additions and 16 deletions
+3
View File
@@ -49,6 +49,9 @@ $requiredFiles = @(
"database/migrations/2026061805_m02c_rbac.up.sql",
"database/migrations/2026061805_m02c_rbac.down.sql",
"database/migrations/2026061805_m02c_rbac.verify.sql",
"database/migrations/2026062012_m04b_order_state_machine.up.sql",
"database/migrations/2026062012_m04b_order_state_machine.down.sql",
"database/migrations/2026062012_m04b_order_state_machine.verify.sql",
"database/seeds/2026061601_m01b_minimal_seed.sql",
"deploy/pm2/ecosystem.config.cjs"
)
+2 -2
View File
@@ -93,6 +93,6 @@ export QIPAI_MYSQL_USER="${username}"
export QIPAI_MYSQL_PASSWORD="${password}"
export QIPAI_MYSQL_CONNECTION_LIMIT=2
echo "INFO: MySQL ${mysql_version}; running M01-B through M04-A migration roundtrip in a temporary database."
echo "INFO: MySQL ${mysql_version}; running M01-B through M04-B migration roundtrip in a temporary database."
npm --prefix backend run test:mysql:migration
echo "PASS: M01-B through M04-A live MySQL migration roundtrip completed."
echo "PASS: M01-B through M04-B live MySQL migration roundtrip completed."