feat(M02-A): 建立多小程序租户配置模型
This commit is contained in:
@@ -15,6 +15,8 @@ $requiredFiles = @(
|
||||
"backend/src/tasks/outbox-repository.ts",
|
||||
"backend/src/tasks/worker.ts",
|
||||
"backend/src/routes/health.ts",
|
||||
"backend/src/routes/platform-bootstrap.ts",
|
||||
"backend/src/tenancy/platform-config-repository.ts",
|
||||
"backend/src/server.ts",
|
||||
"backend/tests/backend-contract.test.mjs",
|
||||
"backend/tests/migration-contract.test.mjs",
|
||||
@@ -23,6 +25,7 @@ $requiredFiles = @(
|
||||
"backend/tests/mysql-migration-roundtrip.test.mjs",
|
||||
"backend/tests/legacy-read-repository.test.mjs",
|
||||
"backend/tests/task-repository.test.mjs",
|
||||
"backend/tests/platform-config-repository.test.mjs",
|
||||
"scripts/dev/wsl/mysql-migration-roundtrip.sh",
|
||||
"database/migrations/2026061601_m01b_core_schema.up.sql",
|
||||
"database/migrations/2026061601_m01b_core_schema.down.sql",
|
||||
@@ -30,6 +33,9 @@ $requiredFiles = @(
|
||||
"database/migrations/2026061802_m01c_async_tasks.up.sql",
|
||||
"database/migrations/2026061802_m01c_async_tasks.down.sql",
|
||||
"database/migrations/2026061802_m01c_async_tasks.verify.sql",
|
||||
"database/migrations/2026061803_m02a_tenant_apps.up.sql",
|
||||
"database/migrations/2026061803_m02a_tenant_apps.down.sql",
|
||||
"database/migrations/2026061803_m02a_tenant_apps.verify.sql",
|
||||
"database/seeds/2026061601_m01b_minimal_seed.sql",
|
||||
"deploy/pm2/ecosystem.config.cjs"
|
||||
)
|
||||
|
||||
@@ -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/M01-C migration roundtrip in a temporary database."
|
||||
echo "INFO: MySQL ${mysql_version}; running M01-B through M02-A migration roundtrip in a temporary database."
|
||||
npm --prefix backend run test:mysql:migration
|
||||
echo "PASS: M01-B/M01-C live MySQL migration roundtrip completed."
|
||||
echo "PASS: M01-B through M02-A live MySQL migration roundtrip completed."
|
||||
|
||||
Reference in New Issue
Block a user