I´m suddenly getting this errors when deploying to...
# orm-help
r
I´m suddenly getting this errors when deploying to demo server: 'One field of the type
User
must be marked as the id field with the
@id
directive.' , and so for all models, Last time I checked this project deploying worked just fine with current setup. Hope someone know something about it
s
Don’t rely on demo server Either do it locally with docker or use heroku (cause it’s free) . There might be version inconsistency issue with your local prisma version and demo server’s prisma version.
n
You can rely on the demo server to experiment with Prisma...
That error is because of breaking changes in Prisma 1.31: https://github.com/prisma/prisma/releases/tag/1.31.0
r
Yeah, thank you so much for your help, I saw those changes in chat just minutes after posting my question. It´s been 3 months since my last deploy and wasn´t aware of them.