-
-
Notifications
You must be signed in to change notification settings - Fork 125
Closed
Labels
Milestone
Description
I have an enum with values from Webflow's API with all of the possible types
enum WebflowFieldType {
Image
RichText
Link
Switch
Reference
PlainText
VideoLink
MultiImage
Email
Phone
Number
Option
Color
DateTime // Error is here
File
MultiReference
}this worked in prisma.schema but with schema.zmodel I get this error
schema.zmodel:2344:3 - Expecting token of type '}' but found `DateTime`.
Seems like a bug cause there's no reason I shouldn't be able to have an enum named "DateTime" and it works in Prisma directly
MaxmaxmaximusFree