I'm having issues with the process of upgrading to...
# orm-help
k
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
introspect
only works if you have an existing database.
k
Yes, I said that. My point is that the guide did not mention that One must deploy before proceeding with the upgrade
So, I guess I have to start over again