0.8.0 • Published 2 months ago

db-schema-gen v0.8.0

Weekly downloads
-
License
MIT
Repository
github
Last release
2 months ago

Overview

This is a simple example of how to use the DB Schema Gen to generate types from a database schema.

Usage

  1. Run npm install db-schema-gen or yarn add db-schema-gen
  2. Create a .json config file with the following contents:
{
  "language": "postgresql",
  "outputDir": "types",
  "url": "YOUR_CONNECTION_STRING",
  "options": {
    "namespace": "DB",
    "columnCase": "camel"
  }
}
  1. Run db-schema-gen --config YOUR_CONFIG_FILE.json
  2. Enjoy your generated types!
0.8.0

2 months ago

0.7.0

2 months ago

0.6.0

2 months ago

0.5.0

12 months ago

0.4.0

12 months ago

0.3.0

12 months ago

0.2.0

12 months ago

0.1.0

12 months ago