@backkit/migrate
v0.1.0
Published
Migration service for backkit
Downloads
5
Readme
Migration service for BackKit
install
npm install --save @backkit/migrate \
@backkit/winston \
@backkit/config
list existing migrations
LOG_FORMAT=flat ENTRYPOINT=migrate node index.js ls
migrate up
LOG_FORMAT=flat ENTRYPOINT=migrate node index.js up
migrate down
LOG_FORMAT=flat ENTRYPOINT=migrate node index.js down
create new migration
LOG_FORMAT=flat ENTRYPOINT=migrate node index.js new
...with a title:
LOG_FORMAT=flat ENTRYPOINT=migrate node index.js new "test upgrade schema"