Install latest flywaydb-cli as a node module
npm install @aldenquimby/flywaydb-cliA simple script installer for flywaydb cli.
Forked from sgraham785/flywaydb-cli because that repository appears abandoned.
```
"scripts": {
"migrate": "flyway -X -configFiles=conf/flyway.conf migrate"
}
``
"scripts": {
"migrate": "flyway -X -user=postgres -schemas=public,another migrate"
}
After looking into a couple other packages and having issues with JS wrappers. I decided to simply install flyway command-line tools from source and make it usage in npm.
npm i -S flywaydb-cli
flywaydb-cli now supports setting the version of Flyway that will be installed.flywaydb-cli
By default will resolve the latest "releasedVersion" which is published by Flyway..flyway
If you wish to set the version place a file in your applications root path with the version you want to install.
Version numbers are absolute, so look here for the available versions list.
Note, only the absolute version number is allowed in the .flyway` file e.g. 5.2.4
This simple installs the latest flyway command-line tools from source. All the auguments that flyway allows are available.
TODO
Maintainer/Publisher aldenquimby
markgardner for the inspiration node-flywaydb
LiranBri for the updated source installer