@predragnikolic/pn-show-db
v0.2.16
Published
This is a tool to visualize your database tables.
Downloads
150
Readme
@predragnikolic/pn-show-db
This is a tool to visualize your database tables.
Getting started
- Create a
.env
file. - Specify the
DATABASE_URL
connection string. It should look like this:
DATABASE_URL=postgres://user:password@host:5432/database
- From the root folder where the
.env
file is present, run:
npx @predragnikolic/pn-show-db --db=postgres
That 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
.