Retrieves the current schema version number.
Add the following to your package.json
file to download the binary and
setup an npm script to run the task.
./package.json
"scripts": {
"db:version": "./node_modules/.bin/db_version"
},
Now run the commands:
$ npm install db-version --save-dev
$ npm run db:version
Currently only PostgreSQL is supported. To add support, open a pull request.
Get the project's history in CHANGELOG.md.
Andy Bettisworth andy@accreu.com https://andybettisworth.com
This project is released under the MIT License.