Docs
Join the conversation
Join Slack
Channels
graphql-nexus
job-board
madewithprisma
mongodb
new-channel
new-channel
new-channel
new-channel
new-channel
orm-help
prisma-client
prisma-data-platform
prisma-go-community
prisma-in-production
prisma-jobs
prisma-migrate
prisma-studio
prisma-whats-new
prisma1-community
prismaday
prismaserverless
product-wishlist
random
Powered by Linen
Channels
graphql-nexus
job-board
madewithprisma
mongodb
new-channel
new-channel
new-channel
new-channel
new-channel
orm-help
prisma-client
prisma-data-platform
prisma-go-community
prisma-in-production
prisma-jobs
prisma-migrate
prisma-studio
prisma-whats-new
prisma1-community
prismaday
prismaserverless
product-wishlist
random
Title
c
charpell
08/21/2020, 12:55 PM
Hello everyone. Is the enum keyword scrapped in Prisma 2? I get this error when using Enum `error: Error validating: You defined the enum
Status
. But the current connector does not support enums.`
j
janpio
08/21/2020, 12:56 PM
Enum
only works in Postgres and Mysql, I guess you are using SQLite.
c
charpell
08/21/2020, 12:56 PM
Yes
r
Ryan
08/21/2020, 1:20 PM
Yes currently Enum isn’t supported in SQLite
j
Jonathan Romano
08/21/2020, 1:46 PM
It would be great if this could be supported at least on an app level like Django does!
I think they may also implement it as a custom check constraint, not sure
r
Ryan
08/21/2020, 1:50 PM
We have a spec for that
here
. Do add a
👍
as well as any feedback for this.
j
Jonathan Romano
08/21/2020, 1:52 PM
Sweet thanks!
More specifically I think it’s
https://github.com/prisma/prisma/issues/2219
though
r
Ryan
08/21/2020, 1:55 PM
Yes, but in the broader sense, it would supported via a Polyfill
👍
1