I need save DECIMAL(10,2)
in database. In MySQL
there is DECIMAL
type.
MySQL docs:
https://dev.mysql.com/doc/refman/8.0/en/fixed-point-types.html
Prisma 2.0 docs:
https://www.prisma.io/docs/reference/database-connectors/mysql
Possible Prisma 2.0 flows:
https://www.prisma.io/docs/understand-prisma/introduction#typical-prisma-workflows
- I am using
Prisma Migrate
flow and see that mapping is constrained. - I see that it can be done in
Introspection
flow.