You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 25, 2021. It is now read-only.
The error is bad and not readable, we will fix this (by returning a better error).
Here's the solution for now: this error is caused by migrations using an old prisma schema that does not pass validation with newer prisma versions. You can fix the error by deleting your migrations folder and the _Migration table in your database, then re-running migrate save and migrate up.
There should be no data loss, but since migrate is experimental, please back up your data before you do this if it matters :)
Bug description
Report id: 4772
Running a
DEBUG=* npx prisma migrate save --experimental
results in the following:How to reproduce
I don't actually know.
Expected behavior
Can create a new migration file.
Prisma information
Will email schema and/or migration files, when needed.
Environment & setup
OS: Mac OS Catalina 10.15.4
Database: PostgreSQL running locally within a Docker container
Node.js version:
v12.16.1
Prisma version:
The text was updated successfully, but these errors were encountered: