mini-pg-migrate
TypeScript icon, indicating that this package has built-in type declarations

0.0.3 • Public • Published

mini-pg-migrate

PostgreSQL database migration

Usage

Instalation

$ npm install -D mini-pg-migrate

Commands

generate

$ node node_modules/mini-pg-migrate/dist/index.cjs generate <MIGRATION FILE NAME> <TARGET DIRECTORY> <VERSION>

VERSION is optional

up

$ node node_modules/mini-pg-migrate/dist/index.cjs migrate:up <PATH TO CONFIG FILE> <MIGRATION DIR>

down

$ node node_modules/mini-pg-migrate/dist/index.cjs migrate:down <PATH TO CONFIG FILE> <MIGRATION DIR>

Dependencies (3)

Dev Dependencies (5)

Package Sidebar

Install

npm i mini-pg-migrate

Weekly Downloads

1

Version

0.0.3

License

MIT

Unpacked Size

24.8 kB

Total Files

8

Last publish

Collaborators

  • masyoudi