question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

`init` flow only offers introspection option and terminates early when using a new PostgreSQL DB

See original GitHub issue

I 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:

Screen Shot 2019-07-02 at 15 32 22

Once connected to the database, the CLI says:

Screen Shot 2019-07-02 at 15 34 58

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:closed
  • Created 4 years ago
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
Andrew1325commented, Aug 20, 2019

When I try init it connects to the database but hen just hangs on the introspection. Screen Shot 2019-08-19 at 8 32 40 pm

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.

1reaction
schicklingcommented, Jul 29, 2019
Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found