prisma: Error: Unknown database type postgres:
Hi, My project works fine with prisma@2.0.0-preview-11 using postgres.
But running:
npx prisma2@2.0.0-preview-12 lift up
outputs:
Error: Unknown database type postgres:
About this issue
- Original URL
- State: closed
- Created 5 years ago
- Comments: 25 (17 by maintainers)
Commits related to this issue
- Support postgres:// as a database URL scheme In addition to postgresql:// Issue: https://github.com/prisma/prisma2/issues/599 Migration engine PR: https://github.com/prisma/prisma-engine/pull/101 — committed to prisma/prisma by tomhoule 5 years ago
- postgres heroku url fix for prisma2 change db url from postgres to postgresql temp fix for this prisma2 issue https://github.com/prisma/prisma2/issues/599 — committed to ozimos/BloodHub by ozimos 5 years ago
- postgres heroku url fix for prisma2 change db url from postgres to postgresql temp fix for this prisma2 issue https://github.com/prisma/prisma2/issues/599 — committed to ozimos/BloodHub by ozimos 5 years ago
For the Lift part:
prisma2 PR: https://github.com/prisma/prisma2/pull/751 prisma-engine PR: https://github.com/prisma/prisma-engine/pull/101
Internal Note: Dropping this for now, as the Rust implementation is replacing the TypeScript implementation within the next weeks.
Perfect 😃 I updated my code to use
postgresql://and i can confirm that it works 😃Yes, you can remove the repo now as we have identified the cause.
That is why I have marked this as a bug and we will fix this 😃
@divyenduz can I close this issue?
A note for our users:
This issue tracks releasing alpha when a PR into
prisma-engineis merged: https://github.com/prisma/prisma2/issues/658Till that is closed, we manually close issues that rely on Prisma Engine.
tl;dr; this is not released yet but will be soon.