Open janpio opened 4 years ago
Error in: sakila
PrismaClientKnownRequestError:
Invalid `: new actorClient()` invocation in
C:\Users\Jan\Documents\prisma-test-utils-automation\dbs\sakila\node_modules\prisma-client\index.js:637:7
633 args || {},
634 [],
635 errorFormat,
636 measurePerformance
→ 637 ) : new actorClient
Unique constraint failed on the fields: (`actor_id`)
at PrismaClientFetcher.request (C:\Users\Jan\Documents\prisma-test-utils-automation\dbs\sakila\node_modules\prisma-client\index.js:87:17)
at processTicksAndRejections (internal/process/task_queues.js:97:5) {
code: 'P2002',
meta: { target: [ 'actor_id' ] }
}
When using prisma-test-utils via prisma-test-utils-automation, some databases (schemas from: prisma/database-schema-examples) fail with this error message:
SQL for the
providers
table:Strange as it is clearly a PK here.