@backkit/migrate

0.1.0 • Public • Published

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"

Readme

Keywords

none

Package Sidebar

Install

npm i @backkit/migrate

Weekly Downloads

0

Version

0.1.0

License

MIT

Unpacked Size

10.9 kB

Total Files

8

Last publish

Collaborators

  • dchapkine