knex-data

0.1.3 • Public • Published

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.

Package Sidebar

Install

npm i knex-data

Weekly Downloads

4

Version

0.1.3

License

MIT

Unpacked Size

7.58 kB

Total Files

8

Last publish

Collaborators

  • jonstuebe