Open janpio opened 4 years ago
prisma-client 'mutation {\n' +
prisma-client ' createOneactor(data: {\n' +
prisma-client ' actor_name: "ofosid"\n' +
prisma-client ' actor_user: -232646535\n' +
prisma-client ' }) {\n' +
prisma-client ' actor_id\n' +
prisma-client ' actor_name\n' +
prisma-client ' actor_user\n' +
prisma-client ' }\n' +
prisma-client '}'
So indeed the unsigned
is the problem.
When using prisma-test-utils via prisma-test-utils-automation, some databases (schemas from: https://github.com/prisma/database-schema-examples) fail with this error message:
Error message unfortunately does not mention what exactly it tried to insert, but it obv. did not fit the column. Maybe a negative number that clashed with the
unsigned
?