Join Slack
Powered by
I'm having issues with the process of upgrading to...
# orm-help
k
KJReactor
08/14/2020, 6:46 PM
I'm having issues with the process of upgrading to Prisma2. I'm stuck at the introspection part. The guide,
https://www.prisma.io/docs/guides/upgrade-guides/upgrade-from-prisma-1/upgrading-the-prisma-layer/#2-create-your-prisma-2-schema
, says the model is not defined in schema.prisma file but now how it is defined in it. The introspection command itself does not work for me since I don't have that schema defined and my db is empty
j
janpio
08/14/2020, 8:05 PM
introspect
only works if you have an existing database.
k
KJReactor
08/14/2020, 8:20 PM
Yes, I said that. My point is that the guide did not mention that One must deploy before proceeding with the upgrade
KJReactor
08/14/2020, 8:21 PM
So, I guess I have to start over again
3
Views
Open in Slack
Previous
Next