Skip to content

Commit 7e21c60

Browse files
committed
test(sql-orm-client): align user_tags DDL with the contract (note, created_at)
The shared fixture's junction declares a nullable note and a defaulted created_at (exclusion-path coverage for requiredPayloadColumns); create the columns so the schema matches the contract. Signed-off-by: Alexey Orlenko's AI Agent <robot@aqrln.net>
1 parent f4b9df8 commit 7e21c60

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

test/integration/test/sql-orm-client/runtime-helpers.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -230,6 +230,8 @@ export async function setupTestSchema(runtime: PgIntegrationRuntime): Promise<vo
230230
create table user_tags (
231231
user_id integer not null,
232232
tag_id text not null,
233+
note text,
234+
created_at text not null default now(),
233235
primary key (user_id, tag_id)
234236
)
235237
`);

0 commit comments

Comments
 (0)