sterm

1.0.0 • Public • Published

STerm

Watch SQL files and run them when updated

Installing

sudo npm install -g sterm

Setting up

Make a directory to store database connections (currently only supports postrgres)

module.exports = {
    postgres: {
        host: 'vm.vertebrae.io',
        //port: 5432,
        user: 'postgres',
        database: 'dev_bistatsingest'
    }
};

Running

CD to your SQL directory and run sterm

Sterm will glob for all SQL files in the current and sub-directories and attach watchers to them.

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.0
    3
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.0
    3

Package Sidebar

Install

npm i sterm

Weekly Downloads

3

Version

1.0.0

License

MIT

Last publish

Collaborators

  • sparkida