fix(db-postgres): select
query on upload fields with hasMany: true
#13663
Annotations
11 errors and 3 warnings
|
Integration Tests:
packages/drizzle/src/postgres/insert.ts#L20
error: insert or update on table "posts_rels" violates foreign key constraint "posts_rels_posts_fk"
at ../node_modules/.pnpm/pg@8.11.3/node_modules/pg/lib/client.js:526:17
at ../node_modules/.pnpm/drizzle-orm@0.36.1_@libsql+client@0.14.0_bufferutil@4.0.8_utf-8-validate@6.0.5__@neondatabase_6resdlyducyo6357g5vrmmkeri/node_modules/src/node-postgres/session.ts:104:19
at Object.insert (../packages/drizzle/src/postgres/insert.ts:20:14)
at upsertRow (../packages/drizzle/src/upsertRow/index.ts:187:7)
at Object.create (../packages/drizzle/src/create.ts:18:18)
at createOperation (../packages/payload/src/collections/operations/create.ts:268:13)
at Object.<anonymous> (select/int.spec.ts:48:14)
|
Integration Tests:
packages/payload/src/collections/operations/deleteByID.ts#L119
NotFound: Not Found
at deleteByIDOperation (../packages/payload/src/collections/operations/deleteByID.ts:119:13)
at Object.<anonymous> (select/int.spec.ts:57:7)
|
Integration Tests:
packages/drizzle/src/postgres/insert.ts#L20
error: insert or update on table "posts_rels" violates foreign key constraint "posts_rels_posts_fk"
at ../node_modules/.pnpm/pg@8.11.3/node_modules/pg/lib/client.js:526:17
at ../node_modules/.pnpm/drizzle-orm@0.36.1_@libsql+client@0.14.0_bufferutil@4.0.8_utf-8-validate@6.0.5__@neondatabase_6resdlyducyo6357g5vrmmkeri/node_modules/src/node-postgres/session.ts:104:19
at Object.insert (../packages/drizzle/src/postgres/insert.ts:20:14)
at upsertRow (../packages/drizzle/src/upsertRow/index.ts:187:7)
at Object.create (../packages/drizzle/src/create.ts:18:18)
at createOperation (../packages/payload/src/collections/operations/create.ts:268:13)
at Object.<anonymous> (select/int.spec.ts:48:14)
|
Integration Tests:
packages/payload/src/collections/operations/deleteByID.ts#L119
NotFound: Not Found
at deleteByIDOperation (../packages/payload/src/collections/operations/deleteByID.ts:119:13)
at Object.<anonymous> (select/int.spec.ts:57:7)
|
Integration Tests:
packages/drizzle/src/postgres/insert.ts#L20
error: insert or update on table "posts_rels" violates foreign key constraint "posts_rels_posts_fk"
at ../node_modules/.pnpm/pg@8.11.3/node_modules/pg/lib/client.js:526:17
at ../node_modules/.pnpm/drizzle-orm@0.36.1_@libsql+client@0.14.0_bufferutil@4.0.8_utf-8-validate@6.0.5__@neondatabase_6resdlyducyo6357g5vrmmkeri/node_modules/src/node-postgres/session.ts:104:19
at Object.insert (../packages/drizzle/src/postgres/insert.ts:20:14)
at upsertRow (../packages/drizzle/src/upsertRow/index.ts:187:7)
at Object.create (../packages/drizzle/src/create.ts:18:18)
at createOperation (../packages/payload/src/collections/operations/create.ts:268:13)
at Object.<anonymous> (select/int.spec.ts:48:14)
|
Integration Tests:
packages/payload/src/collections/operations/deleteByID.ts#L119
NotFound: Not Found
at deleteByIDOperation (../packages/payload/src/collections/operations/deleteByID.ts:119:13)
at Object.<anonymous> (select/int.spec.ts:57:7)
|
Integration Tests:
packages/drizzle/src/postgres/insert.ts#L20
error: insert or update on table "posts_rels" violates foreign key constraint "posts_rels_posts_fk"
at ../node_modules/.pnpm/pg@8.11.3/node_modules/pg/lib/client.js:526:17
at ../node_modules/.pnpm/drizzle-orm@0.36.1_@libsql+client@0.14.0_bufferutil@4.0.8_utf-8-validate@6.0.5__@neondatabase_6resdlyducyo6357g5vrmmkeri/node_modules/src/node-postgres/session.ts:104:19
at Object.insert (../packages/drizzle/src/postgres/insert.ts:20:14)
at upsertRow (../packages/drizzle/src/upsertRow/index.ts:187:7)
at Object.create (../packages/drizzle/src/create.ts:18:18)
at createOperation (../packages/payload/src/collections/operations/create.ts:268:13)
at Object.<anonymous> (select/int.spec.ts:48:14)
|
Integration Tests:
packages/payload/src/collections/operations/deleteByID.ts#L119
NotFound: Not Found
at deleteByIDOperation (../packages/payload/src/collections/operations/deleteByID.ts:119:13)
at Object.<anonymous> (select/int.spec.ts:57:7)
|
Integration Tests:
packages/drizzle/src/postgres/insert.ts#L20
error: insert or update on table "posts_rels" violates foreign key constraint "posts_rels_posts_fk"
at ../node_modules/.pnpm/pg@8.11.3/node_modules/pg/lib/client.js:526:17
at ../node_modules/.pnpm/drizzle-orm@0.36.1_@libsql+client@0.14.0_bufferutil@4.0.8_utf-8-validate@6.0.5__@neondatabase_6resdlyducyo6357g5vrmmkeri/node_modules/src/node-postgres/session.ts:104:19
at Object.insert (../packages/drizzle/src/postgres/insert.ts:20:14)
at upsertRow (../packages/drizzle/src/upsertRow/index.ts:187:7)
at Object.create (../packages/drizzle/src/create.ts:18:18)
at createOperation (../packages/payload/src/collections/operations/create.ts:268:13)
at Object.<anonymous> (select/int.spec.ts:48:14)
|
Integration Tests:
packages/payload/src/collections/operations/deleteByID.ts#L119
NotFound: Not Found
at deleteByIDOperation (../packages/payload/src/collections/operations/deleteByID.ts:119:13)
at Object.<anonymous> (select/int.spec.ts:57:7)
|
Integration Tests
Attempt 1 failed. Reason: Child_process exited with error code 1
|
Integration Tests
Attempt 2 failed. Reason: Child_process exited with error code 1
|
Integration Tests
Attempt 3 failed. Reason: Child_process exited with error code 1
|
Loading