react-apollo
react-apollo copied to clipboard
Prisma new version error
cd server
npx prisma migrate save --experimental
When running the above command line, I received the below error:
Error: The current command "save" doesn't exist in the new version of Prisma Migrate. Read more about how to upgrade: https://pris.ly/d/migrate-upgrade
Prisma updated the command line of migration, I don't know how to run the migration here. Does anyone know how to move forward from here?
Thank you
you can use below command,
npx prisma migrate dev --preview-feature // migrate database
npx prisma generate // generate prisma client