Gibheer
8131e0a7e7
This commit consists of two things. 1. server.go will now set two variables for the current transaction, the username and request id. These are transaction local and therefore do not leak into the connection. 2. The initial schema received a history table and a trigger. This trigger writes changes into the history table. When inserting records the function will pull the transaction local variables and add them to the record. The trigger is added to all tables, so that a complete changelog is created. These changes serve as the basis for further features. One is the searching for changes on specific resources (think history rr, history zone, ...). The other feature is a way to subscribe to changes in the database based on filters. This will be the way to implement the output feature of dim. |
||
---|---|---|
.. | ||
01_initial.sql |