0.0.4 • Published 6 years ago
schwifty-migrate-diff v0.0.4
schwifty-migrate-diff
An Objection.js model diff tool for generating knex migrations
Lead Maintainer - William Woodruff
Usage
This package is used primarily by schwifty to implement the hpal run schwifty:migrate:diff
command. Before being able to use the schwifty:migrate:diff
command, this package must be installed in your project.
npm install --save-dev schwifty-migrate-diff
Note that schwifty-migrate-diff only generates a knex migration file, and does not run the migration. It's highly suggested to review the generated migration file. Bear in mind that schwifty will run migrations during server initialization when it's registered with migrateOnStart
set to true
.