react-apollo icon indicating copy to clipboard operation
react-apollo copied to clipboard

Prisma new version error

Open RongYangAriel opened this issue 4 years ago • 1 comments

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

RongYangAriel avatar Feb 22 '21 03:02 RongYangAriel

you can use below command, npx prisma migrate dev --preview-feature // migrate database npx prisma generate // generate prisma client

dinobei avatar Mar 08 '21 07:03 dinobei