@predragnikolic/pn-show-db
v0.4.3
Published
This is a tool to visualize your database tables.
Readme
@predragnikolic/pn-show-db
This is a tool to visualize your database tables.
Getting started
- Create a
.envfile. - Specify the
DATABASE_URLconnection string. It should look like this:
DATABASE_URL=postgres://user:password@host:5432/database- From the root folder where the
.envfile is present, run:
npx @predragnikolic/pn-show-db --db=postgresThat will open a browser and visualize your database.
NOTE: Only Postgres is supported.
Generate SQL code with a local Ollama model
See this article on how to setup Ollama with phi3.
