Open janpio opened 4 years ago
Pisma's Float can be backed by e.g. a decimal(10,2) on the database side, which can not take all float numbers.
Float
decimal(10,2)
This can lead to failures as this: https://github.com/prisma/prisma-test-utils-automation/issues/5#issuecomment-592984891
A solution could be: https://github.com/prisma/prisma-test-utils-automation/issues/5#issuecomment-592999245
But we need to find better values of course, -10000/10000 is only a proof of concept quick example that this indeed a viable fix.
Same applies for Int as well - which can be a tinyint(3) unsigned in the database and thus is not happy with min: -2147483647, max: 2147483647 at all.
Int
tinyint(3) unsigned
min: -2147483647, max: 2147483647
Pisma's
Float
can be backed by e.g. adecimal(10,2)
on the database side, which can not take all float numbers.This can lead to failures as this: https://github.com/prisma/prisma-test-utils-automation/issues/5#issuecomment-592984891
A solution could be: https://github.com/prisma/prisma-test-utils-automation/issues/5#issuecomment-592999245
But we need to find better values of course, -10000/10000 is only a proof of concept quick example that this indeed a viable fix.