test(db,contracts): register the 0037 tables and agent_run.await_wake in schema checks
Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
1 parent
dd0167fe85
commit
efb5d206c1
2 files changed
+14
-3
No files matched your search
@@ -109,6 +109,10 @@ const EXPECTED_TABLES = [
|
||||
// W9-I 进程心跳(0034)
|
||||
"process_heartbeat",
|
||||
"process_heartbeat_sample",
|
||||
// C1-B 恢复码 / Passkey / WebAuthn 挑战(0037)
|
||||
"admin_recovery_code",
|
||||
"admin_passkey",
|
||||
"webauthn_challenge",
|
||||
].sort();
|
||||
|
||||
/** 不走 entityTable() 的表:追加型/引擎自有表,没有 uuid id + created_at/updated_at 三件套 */
|
||||
@@ -128,6 +132,9 @@ const NON_ENTITY_TABLES = [
|
||||
// 进程心跳:instance_id 主键 / 只追加的采样
|
||||
"process_heartbeat",
|
||||
"process_heartbeat_sample",
|
||||
// 一次性凭据:只记创建 / 用掉的时间
|
||||
"admin_recovery_code",
|
||||
"webauthn_challenge",
|
||||
];
|
||||
|
||||
describe.skipIf(skip)("schema migrations (real PG)", () => {
|
||||
|
||||
Reference in new issue
Block a user