pg-functions-sync
v1.0.1
Published
Develop postgres functions with ease
Downloads
4
Maintainers
Readme
Postgres Functions Sync
Develop and maintain postgres functions in a sane way.
Installation
npm install --global pg-functions-sync
Usage
- Initialize the config file by running
pg-functions-sync init
- Edit the config file with relevant settings. Options:
- pg: Postgres connection settings from the pg module. More info here,
- dir: Path of the directory containing all the functions relative to this file, typically the root of the project.
- Sync functions once:
pg-functions-sync run
- Sync functions in watch mode:
pg-functions-sync run -w