0.1.3 • Published 6 years ago

knex-data v0.1.3

Weekly downloads
1
License
MIT
Repository
github
Last release
6 years ago

Knex Data

Small CLI utility that allows you to create and run data migrations using the knex query builder.

Install

npm i --save-dev knex-data

or

yarn add --dev knex-data

Creating Data Migrations

npx knex-data create

This creates a prompt to create a new migration

Running Data Migrations

npx knex-data run

This gives you a list of all of the data migrations you have in your project. You can start typing to autocomplete through the list.

Help

See npx knex-data --help for more details.