Alan
06/19/2021, 4:16 AMdouble(10,2) . How Prisma can handle it? if i run prisma migrate it will override my database to DOUBLEjanpio
npx prisma db pull to introspect your database, it should create a schema with a native type annotation for exactly the type you are using.Alan
06/19/2021, 4:18 PMjanpio
janpio
db push <=> db pulljanpio
Alan
06/20/2021, 3:19 AMproductCost DOUBLE(10,2) NOT NULL I just run npx prisma db pull the schema is now Float . if I run prisma migrate a new SQL file will be create with productCost DOUBLE NOT NULL
=> I lose the information DOUBLE(10,2)janpio