I was just watching some of the Prisma Day videos ...
# orm-help
c
I was just watching some of the Prisma Day videos and had a question. It was mentioned that you can update your Prisma Schema directly to change a
User
relationship to the name
Author
on
Posts
. My question is, if you do this, and then re-run an introspection, will it blow away your changes? Or does it do a diff and intelligently update the schema file?
Nevermind. Just got further in the video and he talks about using
npx prisma introspection --experimental-reintrospection
to ensure that it doesn’t blow away his changes.
👍 1
j
Hopefully soon the default experience.