修复:恢复 PostgreSQL 集成测试并规范工单搜索条件

This commit is contained in:
yml2213
2026-08-30 17:04:35 +08:00
parent 25b89bb503
commit 535cefd4de
10 changed files with 3051 additions and 3 deletions
+9
View File
@@ -0,0 +1,9 @@
#!/usr/bin/env bash
set -euo pipefail
ROOT="${1:?usage: ROLLBACK.sh <workspace-copy>}"
SCRIPT_DIR="$(CDPATH= cd -- "$(dirname -- "$0")" && pwd)"
cp "$SCRIPT_DIR/BASELINE_worker_query.ts" "$ROOT/apps/backend/src/repositories/worker-platform/work-order-query-repo.ts"
cp "$SCRIPT_DIR/BASELINE_postgres_integration.test.ts" "$ROOT/apps/backend/src/db/postgres.integration.test.ts"
printf 'restored worker query and PostgreSQL integration test baselines in %s\n' "$ROOT"