@predragnikolic/pn-show-db

0.2.16 • Public • Published

@predragnikolic/pn-show-db

This is a tool to visualize your database tables.

Getting started

  1. Create a .env file.
  2. Specify the DATABASE_URL connection string. It should look like this:
DATABASE_URL=postgres://user:password@host:5432/database
  1. 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.

Readme

Keywords

none

Package Sidebar

Install

npm i @predragnikolic/pn-show-db

Weekly Downloads

1

Version

0.2.16

License

MIT

Unpacked Size

581 kB

Total Files

10

Last publish

Collaborators

  • predragnikolic