bcgov / silviculture-ipc

Forestry Sector Operator Screening for Infection Prevention and Control Protocols. Being replaced by: https://github.com/bcgov/common-forms-toolkit
https://github.com/bcgov/common-forms-toolkit
Apache License 2.0
1 stars 8 forks source link

Add Audit Table and Trigger function #96

Closed usingtechnology closed 4 years ago

usingtechnology commented 4 years ago

Hook business, contact, location to audit on update/delete. Required adding an updatedBy userstamp on each of the tables/models. Allows us to see who actually changed the records in the audit record.

Add a wholesale PUT/Update function similar to the IPC POST, only update specific fields in location for now (start date, end date).

Based on Audit Trigger PostgreSQL Wiki.

Description

Types of changes

Checklist

Further comments

jujaga commented 4 years ago

Included in #103