When using BigInt in prisma.schema it expects the ...
# orm-help
h
When using BigInt in prisma.schema it expects the typescript type "bigint" not "BigInt", bigint can only hold 2^53 but i am storingnumbers of magnitude 2^63
👀 1
a
Hey there! I think if your numbers don’t fit inside a BigInt, you will need to store them as strings.
v
👋 hey @Halvor ! Did you have a chance to see Austin's comment? Let us know if this is still an issue for you!
h
Well i workarounded it with strings as Javascript doesn’t support real bigint (like int64)
v
That makes sense, thank you for confirming you found a workaround!