Join Slack
Powered by
```prisma.createModel({enumField: 'ENUM_FIELD'})``...
# prisma-client
d
dany
06/13/2019, 7:16 AM
Copy code
prisma.createModel({enumField: 'ENUM_FIELD'})
t
tmoney
06/14/2019, 4:06 AM
You would just update your datamodel.prisma to have the new enum field in your enum list. You wouldn't do it programmatically I believe. And then just do a
prisma deploy
again
2
Views
Open in Slack
Previous
Next