This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| -- ## Kematzy Hasura AuditTrail | |
| -- This is based on the [Hasura/audit-trigger](https://github.com/hasura/audit-trigger). | |
| -- | |
| -- Changes from the Hasura version: | |
| -- 1. Simplified audit table schema with these changes: | |
| -- a. Renamed columns to lowerFirst format. | |
| -- b. Changed order of columns. | |
| -- c. Combined schema & table name into one column. | |
| -- d. Stores the record `id` UUID value in the `rowId` column. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import clr | |
| import sys | |
| import os.path | |
| clr.AddReference("Microsoft.Office.Interop.Excel") | |
| from Microsoft.Office.Interop import Excel | |
| from System import Type, GC | |
| # See http://msdn.microsoft.com/en-us/library/bb407651.aspx for |
OlderNewer