1.0.0-alpha.0 • Published 4 years ago
@materya/pg-tools v1.0.0-alpha.0
@materya/pg-tools
A set of tools to manipulate a PosgreSQL Database for your projects, based on Slonik.
This is an alpha project, work is still in progress.
DO NOT USE IN PRODUCTION
Install
npm i -D @materya/pg-tools
Tools
Migrate
A simple migrations command manager
Usage
Run all migrations from last applied one
npm run migrate -- up
Reverse all migrations
npm run migrate -- down
Seed
A simple seeds command manager
Usage
Run all seeds from last applied one
npm run seed -- up
Reverse all seeds
npm run seed -- down