-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
2 changed files
with
2 additions
and
2 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
{"name":"AuditApp_Deletes","query":"SELECT \n\t\t O.KeyValue 'ID'\n , O.DisplayName 'Name'\n\t\t, AU.AttributeName 'Attribute'\n\t\t, AU.ValueOld 'Old'\n , AU.ValueNew 'New'\n , OP.Name 'Operation'\n , datetime(OM.DateTime, 'localtime') 'Operation DT'\n , datetime(AC.DateTime, 'localtime') 'Activity DT'\n , AT.Name 'Activity'\n , ST.SystemName 'System'\n , ST.TableName 'Table'\nFROM AttributeUpdates AU\nINNER JOIN ObjectMutations OM ON OM.ID = AU.ObjectMutationID\nINNER JOIN Operations OP ON OP.ID = OM.OperationID\nINNER JOIN Activities AC ON AC.ID = OM.ActivityID\nINNER JOIN ActivityTypes AT ON AT.ID = AC.ActivityTypeID\nINNER JOIN Objects O ON O.ID = OM.ObjectID\nINNER JOIN SystemTables ST ON ST.ID = O.SystemTableID\nWHERE 1=1\nAND OP.ID = 3\nORDER BY OM.DateTime DESC","params":[],"columns":[{"name":"ID","type":0},{"name":"Name","type":0},{"name":"Attribute","type":0},{"name":"Old","type":0},{"name":"New","type":0},{"name":"Operation","type":0},{"name":"Operation DT","type":0},{"name":"Activity DT","type":0},{"name":"Activity","type":0},{"name":"System","type":0},{"name":"Table","type":0}]} | ||
{"name":"AuditApp_Deletes","query":"SELECT \n\t\t O.KeyValue 'ID'\n , O.DisplayName 'Name'\n\t\t, AU.AttributeName 'Attribute'\n\t\t, AU.ValueOld 'Old'\n , AU.ValueNew 'New'\n , OP.Name 'Operation'\n , datetime(OM.DateTime, 'localtime') 'Operation DT'\n , datetime(AC.DateTime, 'localtime') 'Activity DT'\n , AT.Name 'Activity'\n , ST.SystemName 'System'\n , ST.TableName 'Table'\nFROM ObjectMutations OM\nLEFT JOIN AttributeUpdates AU ON OM.ID = AU.ObjectMutationID\nINNER JOIN Operations OP ON OP.ID = OM.OperationID\nINNER JOIN Activities AC ON AC.ID = OM.ActivityID\nINNER JOIN ActivityTypes AT ON AT.ID = AC.ActivityTypeID\nINNER JOIN Objects O ON O.ID = OM.ObjectID\nINNER JOIN SystemTables ST ON ST.ID = O.SystemTableID\nWHERE 1=1\nAND OP.ID = 3\nORDER BY OM.DateTime DESC","params":[],"columns":[{"name":"ID","type":0},{"name":"Name","type":0},{"name":"Attribute","type":0},{"name":"Old","type":0},{"name":"New","type":0},{"name":"Operation","type":0},{"name":"Operation DT","type":0},{"name":"Activity DT","type":0},{"name":"Activity","type":0},{"name":"System","type":0},{"name":"Table","type":0}]} |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
{"name":"AuditApp_Last7Days","query":"SELECT \n\t\t O.KeyValue 'ID'\n , O.DisplayName 'Name'\n\t\t, AU.AttributeName 'Attribute'\n\t\t, AU.ValueOld 'Old'\n , AU.ValueNew 'New'\n , OP.Name 'Operation'\n , datetime(OM.DateTime, 'localtime') 'Operation DT'\n , datetime(AC.DateTime, 'localtime') 'Activity DT'\n , AT.Name 'Activity'\n , ST.SystemName 'System'\n , ST.TableName 'Table'\nFROM AttributeUpdates AU\nINNER JOIN ObjectMutations OM ON OM.ID = AU.ObjectMutationID\nINNER JOIN Operations OP ON OP.ID = OM.OperationID\nINNER JOIN Activities AC ON AC.ID = OM.ActivityID\nINNER JOIN ActivityTypes AT ON AT.ID = AC.ActivityTypeID\nINNER JOIN Objects O ON O.ID = OM.ObjectID\nINNER JOIN SystemTables ST ON ST.ID = O.SystemTableID\nWHERE datetime(OM.DateTime, 'localtime') > DATE(datetime(CURRENT_TIMESTAMP, 'localtime'), '-7 Days')\nORDER BY OM.DateTime DESC\nLIMIT 500","params":[],"columns":[{"name":"ID","type":0},{"name":"Name","type":0},{"name":"Attribute","type":0},{"name":"Old","type":0},{"name":"New","type":0},{"name":"Operation","type":0},{"name":"Operation DT","type":0},{"name":"Activity DT","type":0},{"name":"Activity","type":0},{"name":"System","type":0},{"name":"Table","type":0}]} | ||
{"name":"AuditApp_Last7Days","query":"SELECT \n\t\t O.KeyValue 'ID'\n , O.DisplayName 'Name'\n\t\t, AU.AttributeName 'Attribute'\n\t\t, AU.ValueOld 'Old'\n , AU.ValueNew 'New'\n , OP.Name 'Operation'\n , datetime(OM.DateTime, 'localtime') 'Operation DT'\n , datetime(AC.DateTime, 'localtime') 'Activity DT'\n , AT.Name 'Activity'\n , ST.SystemName 'System'\n , ST.TableName 'Table'\nFROM ObjectMutations OM\nLEFT JOIN AttributeUpdates AU ON OM.ID = AU.ObjectMutationID\nINNER JOIN Operations OP ON OP.ID = OM.OperationID\nINNER JOIN Activities AC ON AC.ID = OM.ActivityID\nINNER JOIN ActivityTypes AT ON AT.ID = AC.ActivityTypeID\nINNER JOIN Objects O ON O.ID = OM.ObjectID\nINNER JOIN SystemTables ST ON ST.ID = O.SystemTableID\nWHERE datetime(OM.DateTime, 'localtime') > DATE(datetime(CURRENT_TIMESTAMP, 'localtime'), '-7 Days')\nORDER BY OM.DateTime DESC\nLIMIT 500","params":[],"columns":[{"name":"ID","type":0},{"name":"Name","type":0},{"name":"Attribute","type":0},{"name":"Old","type":0},{"name":"New","type":0},{"name":"Operation","type":0},{"name":"Operation DT","type":0},{"name":"Activity DT","type":0},{"name":"Activity","type":0},{"name":"System","type":0},{"name":"Table","type":0}]} |