test(db): expect pi_upstream and scheduled_job tables in schema test

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
rootandClaude Opus 5.5 committed 2026-09-28 02:47:17 +08:00
1 parent 11c8cd4e0e
commit daa85a8bb4
1 file changed
+8
+8
View File
@@ -94,6 +94,11 @@ const EXPECTED_TABLES = [
"slot_deferral",
"slot_unit",
"subscription_history",
// W7-A Pi 上游(0027)
"pi_upstream",
// W7-C 定时任务注册表(0028)
"scheduled_job",
"scheduled_job_run",
].sort();
/** 不走 entityTable() 的表:追加型/引擎自有表,没有 uuid id + created_at/updated_at 三件套 */
@@ -107,6 +112,9 @@ const NON_ENTITY_TABLES = [
"agent_run_event",
"login_attempt",
"sse_event",
// 稳定 key 作主键 / 只追加的运行历史
"scheduled_job",
"scheduled_job_run",
];
describe.skipIf(skip)("schema migrations (real PG)", () => {