Unable to connect to postgres db with new preview025. Works with preview024.
npx prisma2 migrate save --experimental$ npx prisma2 migrate save --experimental
Error: Error in migration engine: Mar 27 08:44:36.142 INFO migration_engine: Starting migration engine RPC server git_hash="8814060fa684793b73d07dbfccd4b7777b3361ae"
Mar 27 08:44:36.659 INFO quaint::single: Starting a postgresql pool with 1 connections.
Mar 27 08:44:37.069 INFO tokio_postgres::connection: NOTICE: schema "public" already exists, skipping
error Command failed with exit code 1.
Is this reproducible with a new project created with prisma2 init and a trivial schema?
Hi @janpio, was unable to reproduce my error, so closing...
We should look into this anyway for existing databaes.
Lmk what you need from me to help you figure out what happened (no issues since, fyi).
Internal Note: This is about having a fallback error message when the engine dies and no real error message is returned.
I had a quick look into this and provided invalid Postgres credentials, but can't reproduce this. Keeping this open until we have more info.
It could very well have been due to my own not knowing what the heck I was doing, @timsuchanek — good chance that happened 😄
Closing for now then. Feel free to reopen or comment if something like this happens again.
Seems like we forgot to close or GitHub didn't store it.
Most helpful comment
Seems like we forgot to close or GitHub didn't store it.