You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
model Food {
id Int @id @default(autoincrement())
food_type String @db.VarChar(20)
name String @db.VarChar(200)
price Float @db.Real
amount Float @db.Real
total Float @db.Real
date DateTime @db.Date
}
Even though I set @db.Date, it's still recognised as DateTime when I want to use Prisma. Am I missing something or this is intended?
Here is a screenshot of the generated type signature:
The text was updated successfully, but these errors were encountered:
Yes, but it would be for 0.7.0 instead of 0.6.3. I'd want to implement many native types instead of just this one, so I'm going to close this issue in favour of #83.
My Prisma Schema has the following table:
Even though I set
@db.Date
, it's still recognised as DateTime when I want to use Prisma. Am I missing something or this is intended?Here is a screenshot of the generated type signature:
The text was updated successfully, but these errors were encountered: