Lymestack as the ability to track changes made to database tables via Entity Framework's change tracking features.
Changes are stored in the centralized Activity Log table, which are viewable via the Activity Logs page and consumable in other interfaces via the activity-log-list
component in the shared
module of the Angular app.
Below is an example of the UI when viewing an Audit Log entry from the Activity Log List component:
The "Old Values" column on the left shows the value of the affected fields prior to the data change and the "New Values" column shows the data change.
For effeciency and practicality, not all table changes are tracked. Instead the tables to be tracked are configured via the auditEnabled
and auditTables
settings in the App Settings Configuration File. Add table names to this comma separated list to add tracking for desired entitites. In future releases, we plan to make this configurable through the Admin UI.