Hi, I need to add a new `@isUnique` field to an ex...
# prisma-whats-new
g
Hi, I need to add a new
@isUnique
field to an existing type in my schema. When adding a new field, it requires a
@migrationValue(value: "something")
. But since the field is supposed to be unique, I can't give a static migration value. Is there a way to give randomly generated values within the
types.graphql
document, or to reference another existing field in some way to fill this newly generated field?