PrismaP
Prisma2y ago
3 replies
BattleHammer

Question about the schema model type

I have this model in my schema:
model data {
data1 String
}
As far as the docs say, the type string allow me the use of a varchar type of field, so i must be able to save numerics (Int) types with no problem, BUT when i try to do that the system throws error, im using next js with prisma want to know what problem coould be, any help will be heartly apreciated
Was this page helpful?