serieseight / statamic-audit-log

Statamic v2 Addon for logging system events.
MIT License
4 stars 1 forks source link

Restore feature #5

Open aryehraber opened 6 years ago

aryehraber commented 6 years ago

Allow users to restore to a previous snapshot.

aryehraber commented 6 years ago

Currently, whenever Audit Log records an event, it grabs a “snapshot” of the event’s contextual data (passed through from Statamic’s core). This contextual data is a pretty complete picture of the event that took place but also contains meta data that shouldn’t be part of the content if it were to be restored.

This “extra” meta data should be carefully split into the meta column to ensure data integrity.