Skip to content

fix(tables): ensure order of composite pks preserved #1837

fix(tables): ensure order of composite pks preserved

fix(tables): ensure order of composite pks preserved #1837

Triggered via pull request October 3, 2025 20:15
Status Failure
Total duration 3m 13s
Artifacts

ci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors
test/index.test.ts > update with array types: test/lib/columns.ts#L567
TypeError: Cannot read properties of null (reading 'id') ❯ test/lib/columns.ts:567:26
test/index.test.ts > update with name unchanged: test/lib/columns.ts#L519
TypeError: Cannot read properties of null (reading 'id') ❯ test/lib/columns.ts:519:26
test/index.test.ts > column with constraint: test/lib/columns.ts#L489
TypeError: Cannot read properties of null (reading 'id') ❯ test/lib/columns.ts:489:26
test/index.test.ts > column with default value: test/lib/columns.ts#L442
TypeError: Cannot read properties of null (reading 'id') ❯ test/lib/columns.ts:442:26
test/index.test.ts > array column: test/lib/columns.ts#L397
TypeError: Cannot read properties of null (reading 'id') ❯ test/lib/columns.ts:397:26
test/index.test.ts > unique column: test/lib/columns.ts#L365
TypeError: Cannot read properties of null (reading 'id') ❯ test/lib/columns.ts:365:26
test/index.test.ts > primary key column: test/lib/columns.ts#L334
TypeError: Cannot read properties of null (reading 'id') ❯ test/lib/columns.ts:334:26
test/index.test.ts > enum column with quoted name: test/lib/columns.ts#L296
Error: Snapshot `enum column with quoted name 1` mismatched - Expected + Received { "check": null, "comment": null, - "data_type": "USER-DEFINED", + "data_type": "text", "default_value": null, - "enums": [ - "v", - ], + "enums": [], - "format": "T", + "format": "text", "id": StringMatching /\^\\d\+\\\.1\$/, "identity_generation": null, "is_generated": false, "is_identity": false, "is_nullable": true, "is_unique": false, "is_updatable": true, - "name": "c", + "name": "c1", "ordinal_position": 1, "schema": "public", "table": "t", "table_id": Any<Number>, } ❯ test/lib/columns.ts:296:56
test/index.test.ts > retrieve, create, update, delete: test/lib/columns.ts#L146
TypeError: Cannot read properties of null (reading 'id') ❯ test/lib/columns.ts:146:26
test/index.test.ts > list from a single table: test/lib/columns.ts#L40
TypeError: Cannot read properties of null (reading 'id') ❯ test/lib/columns.ts:40:63