Is there a way to add a new field with unique data...
# prisma-whats-new
d
Is there a way to add a new field with unique data on a type with existing data? My approach is add a new nullable field, then change the data and add unique values to this new field via looped mutation (script) and then add @isUnique to it. Is there a better way?
a
unfortunately so far I’m still doing the same and didn’t find any other way to do that I know there is this issue https://github.com/graphcool/framework/issues/67 but I don’t know when it will be done
👍 1