Skip to content
This repository has been archived by the owner on Sep 2, 2022. It is now read-only.

prisma1 introspect does not return anything #5200

Closed
biztalkfusion opened this issue Apr 28, 2022 · 0 comments
Closed

prisma1 introspect does not return anything #5200

biztalkfusion opened this issue Apr 28, 2022 · 0 comments

Comments

@biztalkfusion
Copy link

Describe the bug
I am trying to use prisma1 introspect to generate a datamodel for my database. But it always ends after 8 questions (SSL) and does not show any errors or results.

I have tried it with different postgres server instances and different databases as well. I also tried from multiple computers by installing
npm install -g prisma1

To Reproduce
Steps to reproduce the behavior:
PS C:\Users\devuser\prismaLearn>prisma1 introspect
? What kind of database do you want to introspect? PostgreSQL
? Enter database host localhost
? Enter database port 5433
? Enter database user postgres
? Enter database password [hidden]
? Enter database name (the database includes the schema) postgres
? Use SSL? No
PS C:\Users\devuser\prismaLearn>

The behavior is the same with the -i switch as well.

Expected behavior
As per the documentation, its expected to ask for schema name and generate the corresponding datamodel.

Screenshots
If applicable, add screenshots to help explain your problem.

Versions (please complete the following information):

  • Connector: Postgres,
  • Prisma Server: 1.34.0
  • prisma CLI: Prisma CLI version: prisma/1.34.12 (windows-x64) node-v16.14.2
  • OS: Windows 10,

Additional context
Add any other context about the problem here.

@janpio janpio closed this as completed Sep 1, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants