prisma / prisma1

💾 Database Tools incl. ORM, Migrations and Admin UI (Postgres, MySQL & MongoDB) [deprecated]
https://v1.prisma.io/docs/
Apache License 2.0
16.56k stars 867 forks source link

prisma1 introspect does not return anything #5200

Closed biztalkfusion closed 1 year ago

biztalkfusion commented 2 years ago

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

Additional context Add any other context about the problem here.