Hello All, How can i assign a float type with 2 pr...
# orm-help
k
Hello All, How can i assign a float type with 2 precision value in prisma schema models?
?
r
You can use
@db.decimal
as shown here.
k
I m using prisma 2.10.0 and the above @db.decimal is supported in it?
r
No you would need to upgrade to 2.17.0 or above.
k
Okay