Postgres integer column silently overflows to bad value #13913
Labels
bug/2-confirmed
Bug has been reproduced and confirmed.
kind/bug
A reported bug.
team/client
Issue for team Client.
topic: client types
Types in Prisma Client
Milestone
Bug description
On inserting record into table with integer column a value that overflows postgres max integer value of 2147483647 no error message is returned and record with bad value is silently stored.
E.g.
2265000000
is saved as-2029967296
How to reproduce
Expected behavior
An error should be thrown
Prisma information
Prisma Version
The text was updated successfully, but these errors were encountered: