knex-data
v0.1.3
Published
Small CLI utility that allows you to create and run data migrations using the knex query builder.
Downloads
61
Readme
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.