#Prisma stores invalid data

1 messages · Page 1 of 1 (latest)

green plinth
#

when trying to store a big int like my discord user if which is 229368888486395905, when prisma stores the number, it is different to what my id is! This is what it stores: 229368888486395900

spiral ravenBOT
#

To help others find answers, you can mark your question as solved via Right click solution message -> Apps -> ✅ Mark Solution

green plinth
#

Also i get this popup when trying to delete field from the table

rose ermine
#

is your field type "BigInt"?

green plinth
#

that was actually a problem of parseInt

#

when i tried this method to convert string to number, it changed those digits

#

@rose ermine

#

now my only concern is this

green plinth