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
npm i -D @materya/quartz
A simple migrations command manager
-
Run all migrations from last applied one
npm run migrate -- up
-
Reverse all migrations
npm run migrate -- down
A simple seeds command manager
-
Run all seeds from last applied one
npm run seed -- up
-
Reverse all seeds
npm run seed -- down