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:
1 parent
11c8cd4e0e
commit
daa85a8bb4
1 file changed
+8
@@ -94,6 +94,11 @@ const EXPECTED_TABLES = [
|
|||||||
"slot_deferral",
|
"slot_deferral",
|
||||||
"slot_unit",
|
"slot_unit",
|
||||||
"subscription_history",
|
"subscription_history",
|
||||||
|
// W7-A Pi 上游(0027)
|
||||||
|
"pi_upstream",
|
||||||
|
// W7-C 定时任务注册表(0028)
|
||||||
|
"scheduled_job",
|
||||||
|
"scheduled_job_run",
|
||||||
].sort();
|
].sort();
|
||||||
|
|
||||||
/** 不走 entityTable() 的表:追加型/引擎自有表,没有 uuid id + created_at/updated_at 三件套 */
|
/** 不走 entityTable() 的表:追加型/引擎自有表,没有 uuid id + created_at/updated_at 三件套 */
|
||||||
@@ -107,6 +112,9 @@ const NON_ENTITY_TABLES = [
|
|||||||
"agent_run_event",
|
"agent_run_event",
|
||||||
"login_attempt",
|
"login_attempt",
|
||||||
"sse_event",
|
"sse_event",
|
||||||
|
// 稳定 key 作主键 / 只追加的运行历史
|
||||||
|
"scheduled_job",
|
||||||
|
"scheduled_job_run",
|
||||||
];
|
];
|
||||||
|
|
||||||
describe.skipIf(skip)("schema migrations (real PG)", () => {
|
describe.skipIf(skip)("schema migrations (real PG)", () => {
|
||||||
|
|||||||
Reference in new issue
Block a user