Is Prisma model definitions different than Graphco...
# orm-help
i
Is Prisma model definitions different than Graphcool model definitions? I'm trying to move some stuff from Graphcool to Prisma and I'm getting this issue: Graphcool definition:
Copy code
type City @model {
  id: ID! @isUnique
Error:
The field id is reserved and has to have the format: id: ID! @unique or id: UUID! @unique.
h
There are some minor changes, its going to tell you what is wrong. For example
@isUnique
is now
@unique
and in future its going to be
@id
👍 1
j
@huv1k whats the difference between ID and UUID? Is ID not considered globally unique?
h
You can read more about it here https://github.com/prisma/prisma/issues/3403