`init` flow only offers introspection option and terminates early when using a new PostgreSQL DB
See original GitHub issueI want to use prisma2 init
with a new and empty PostgreSQL database. After I selected Postgres
in the first step of the flow, I enter the credentials:

Once connected to the database, the CLI says:

When creating a new schema as done in the screenshot, the button Introspect
should say Create schema
.
When I click on Introspect
, it terminates and creates a schema file that only has the datasource
configured but it should proceed to the boilerplate selection.
Issue Analytics
- State:
- Created 4 years ago
- Comments:6 (2 by maintainers)
Top Results From Across the Web
Documentation: 15: pg_ctl - PostgreSQL
pg_ctl is a utility for initializing a PostgreSQL database cluster, starting, stopping, or restarting the PostgreSQL database server (postgres), or displaying ...
Read more >Spring Data R2DBC - Reference Documentation
R2DBC is the acronym for Reactive Relational Database Connectivity. R2DBC is an API specification initiative that declares a reactive API to be ...
Read more >Blog | ent
Deploy a version of the application that reads from the new column. Delete the old column. Versioned migrations. In our project we are...
Read more >Kong Gateway Changelog | Kong Docs
This happened because the name of the plugin, acl , and its endpoint, /acls , don't match. Fixed a caching issue with Dev...
Read more >Table of Contents - Micronaut Documentation
Micronaut framework 3.5.0 offers more flexibility in configuring the HTTP Server. ... Micronaut now only comes with its own set of annotations to...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
When I try
init
it connects to the database but hen just hangs on the introspection.It doesn’t end, just sits like this until I ctrl-c to get out. Was going all night last night.
Am using a local postgres, new empty database that I can connect to and see in pgAdmin.
Will be solved via https://github.com/prisma/prisma2/issues/278