1.0.1 • Published 5 years ago

pg-functions-sync v1.0.1

Weekly downloads
1
License
MIT
Repository
github
Last release
5 years ago

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