/db-version

Retrieves the current schema version number.

Primary LanguageJavaScriptMIT LicenseMIT

db-version

Retrieves the current schema version number.

Getting started

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

Limitations

Currently only PostgreSQL is supported. To add support, open a pull request.

Changelog

Get the project's history in CHANGELOG.md.

Maintainer

Andy Bettisworth andy@accreu.com https://andybettisworth.com

License

This project is released under the MIT License.