0.3.3 • Published 1 year ago

pg-triggers v0.3.3

Weekly downloads
3
License
MIT
Repository
github
Last release
1 year 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

1 year ago

0.3.0

4 years ago

0.3.2

4 years ago

0.2.3

6 years ago

0.2.2

7 years ago

0.2.1

8 years ago

0.2.0

8 years ago

0.1.2

8 years ago

0.1.1

8 years ago

0.1.0

8 years ago

0.0.1

9 years ago