Join Slack
Powered by
are there any known issues w/ migrating schemas co...
# prisma-whats-new
d
drk
06/11/2017, 10:35 PM
are there any known issues w/ migrating schemas containing ENUMS and default values?
n
nilan
06/11/2017, 10:40 PM
@drk
yes!
nilan
06/11/2017, 10:40 PM
@drk
https://github.com/graphcool/api-bugs/issues/82
nilan
06/11/2017, 10:40 PM
the workaround is to first create the field as optional and then update it later with the default value
d
drk
06/11/2017, 10:42 PM
ah awesome! thank you 😄
Open in Slack
Previous
Next