Skip to content
/ quartz Public
generated from materya/template-repo

Set of tools to manage a PostgreSQL database for nodejs

License

Notifications You must be signed in to change notification settings

materya/quartz

Repository files navigation

@materya/quartz

NPM version Dependency Status Known Vulnerabilities codecov License

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/quartz

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
    

License

GPL-3.0