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
I've got the same error while trying to use lift with previous migration (error on lift up or down)
The error appeared with version 2.0.0-preview016 and is still occuring with 2.0.0-preview016.2
Error parsing the migration steps: Error("unknown field name, expected model", line: 1, column: 61)'
Everything works fine on 2.0.0-preview015
The migrations steps were generated with 2.0.0-preview014.2
I can confirm that the sslaccept=accept_invalid_certs does not in fact fix this entirely. I now have this error after adding the param:
EDIT:
Just to clarify, I did get the original error, without adding the param. In this image, the first error is without the added param, and the second error is with:
Well, I added these params and it helped in my case on ubuntu 19.10. What was that - I did not have time to figure out :-). Hope it would help you guys.
Reinstalled preview16.2, I still have the same error. I tried adding @kokokenadasslaccept=accept_invalid_certs as well as @SvitlanaShepitsena&sslmode=verify-ca&sslfactory=org.postgresql.ssl.NonValidatingFactory in my connection string.
I think this is related to the change in the format of migrations. See the "Breaking changes" section in the latest release notes
I just did what was in there and the issue persists. I also have no problems with my workstation back home, just my work laptop. I just realized that it may be because my home station probably isn't updated to v16. I'll have to check.
Activity
marcantoine commentedon Nov 12, 2019
I've got the same error while trying to use lift with previous migration (error on lift up or down)
The error appeared with version 2.0.0-preview016 and is still occuring with 2.0.0-preview016.2
Error parsing the migration steps: Error("unknown fieldname, expectedmodel", line: 1, column: 61)'Everything works fine on 2.0.0-preview015
The migrations steps were generated with 2.0.0-preview014.2
kokokenada commentedon Nov 13, 2019
As per #884, adding sslaccept=accept_invalid_certs to your datasource url fixes this.
To make matter worse the error message is not displayed when running in Netlify build. Just a mysterious:
pantharshit00 commentedon Nov 14, 2019
Can you all check if
sslaccept=accept_invalid_certsfixes this error? Otherwise please tell me how to reproduce this.The netlify issue is related to #313 and #554
BiscuiTech commentedon Nov 14, 2019
I can confirm that the

sslaccept=accept_invalid_certsdoes not in fact fix this entirely. I now have this error after adding the param:EDIT:

Just to clarify, I did get the original error, without adding the param. In this image, the first error is without the added param, and the second error is with:
SvitlanaShepitsena commentedon Nov 14, 2019
Well, I added these params and it helped in my case on ubuntu 19.10. What was that - I did not have time to figure out :-). Hope it would help you guys.
&sslmode=verify-ca&sslfactory=org.postgresql.ssl.NonValidatingFactorymarcantoine commentedon Nov 14, 2019
Reinstalled preview16.2, I still have the same error. I tried adding @kokokenada
sslaccept=accept_invalid_certsas well as @SvitlanaShepitsena&sslmode=verify-ca&sslfactory=org.postgresql.ssl.NonValidatingFactoryin my connection string.pantharshit00 commentedon Nov 15, 2019
@marcantoine Can you please share your datamodel?
@BiscuiTech Can you please tell me where your database is hosted?
I think we should wait while we patch #884
tomhoule commentedon Nov 15, 2019
I think this is related to the change in the format of migrations. See the "Breaking changes" section in the latest release notes
marcantoine commentedon Nov 15, 2019
Thank you @tomhoule i missed this point in the release notes, this totally looks like my error.
tomhoule commentedon Nov 15, 2019
Glad to help, if that worked :)
BiscuiTech commentedon Nov 15, 2019
Database is hosted on DigitalOcean (Managed DB)
I just did what was in there and the issue persists. I also have no problems with my workstation back home, just my work laptop. I just realized that it may be because my home station probably isn't updated to v16. I'll have to check.
divyenduz commentedon Jan 9, 2020
"Error parsing the migration steps". This error happens when the internal representation of lift (the migration engine) has a breaking change.
Since, we are in preview, although we try to contain the surface area of breaking changes, this one is acceptable.
The workaround is to remove your migrations and the migration table and start from scratch wrt migration. Does that make sense?
I am closing this one, if the problem persists for you, please comment here or reach out to me in our slack: https://slack.prisma.io.
TML-2962: `contract infer` omits elements the stack's extension packs…
TML-2503: close out the Supabase integration — promote the decision l…