Using --url
for db pull
ignored/overwrites provider=cockroachdb
#11527
Labels
kind/improvement
An improvement to existing feature and code.
team/schema
Issue for team Schema.
tech/engines
Issue for tech Engines.
tech/typescript
Issue for tech TypeScript.
topic: cockroachdb
topic: internal
topic: prisma db pull
CLI: prisma db pull
topic: re-introspection
Milestone
With this schema:
this is the output of
prisma db pull --url=postgresql://jo....cloud:26257/introspection-ci-5134.aragon-notification-service?sslmode=verify-full
:(which is great!)
but this the resulting schema:
Note how it says
provider = "postgresql"
there.I think it would be ok to keep ´provider=cockroachdb` around when already set in the original schema.
(Everything works fine when you just run
db pull
without--url
)Related: #11347
The text was updated successfully, but these errors were encountered: