0.3.3 • Published 5 days ago

pg-triggers v0.3.3

Weekly downloads
3
License
MIT
Repository
github
Last release
5 days ago

pg-triggers

Triggers for postgres

extending npm-version downloads

language: English also available in: Spanish

Install

$ psql < lib/recreate-his.sql
$ psql < lib/table-changes.sql
$ psql < lib/function-changes-trg.sql

Config

$ psql < lib/enance.sql
$ psql -c "select enance_table('state','country,state')"

You must call enance_table(table_name, primary_key_fields) for each table that you want to audit changes on each time you create a table or alter the primary key.

Devel

$ npm install
$ psql --file install/create_db.sql
$ npm test

License

MIT

0.3.3

5 days ago

0.3.0

3 years ago

0.3.2

3 years ago

0.2.3

5 years ago

0.2.2

6 years ago

0.2.1

7 years ago

0.2.0

7 years ago

0.1.2

7 years ago

0.1.1

7 years ago

0.1.0

7 years ago

0.0.1

7 years ago