/node-flywaydb

NodeJs wrapper for flywaydb cli

Primary LanguageJavaScriptApache License 2.0Apache-2.0

node-flywaydb

NodeJs wrapper for flywaydb cli

Motivation

I found myself wanting to use flyway on my build systems and dreading installing and maintaining the cli with all of the PATH requirements. This simple wrapper will download the latest Flyway cli on install and provide a hook for your package scripts.

Example package script

"scripts": {
  "migrate": "flyway -c conf/flyway.js migrate"
}

See Example config file for inspiration