danielwambo commented on issue #1284:
URL: https://github.com/apache/age/issues/1284#issuecomment-1783915761

   @MatheusFarias03 A good way to do this is by creating a separate table then 
store the log details in it i.e in any modification addition or deletion of 
vertices and edges.
   1.First we Create the table
   `CREATE TABLE Audit_logs( //here we can store audit information like 
timestamp,type of change(addition,deletion etc), changed value, id , new 
value);`
   2.Then we 'INSERT VALUES' to that table during any change on the graph
   INSERT INTO Audit_logs (timestamp, type_of_change, changed_ , change_id)
   VALUES (now(), 'add', 'vertex', 'value');
   
   And more information about the changes can be added as fields on these logs.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to