Hello all, Is type "ID" invalid in prisma2 ?
# orm-help
j
Hello all, Is type "ID" invalid in prisma2 ?
r
Yes the data modelling syntax has changed from Prisma 1. You can read more about that here in the docs.
j
Thank you Ryan.
r
For id, you can use:
Copy code
id Int @id
in your model
👍 1
j