Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prisma new version error #118

Open
RongYangAriel opened this issue Feb 22, 2021 · 1 comment
Open

Prisma new version error #118

RongYangAriel opened this issue Feb 22, 2021 · 1 comment

Comments

@RongYangAriel
Copy link

RongYangAriel commented Feb 22, 2021

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

@dinobei
Copy link

dinobei commented Mar 8, 2021

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants