Could we consider storing only the diffs between the previous and the current attribute instead of a full copy of the data to reduce storage usage?
This way, in case you want to revert, you would need to loop over all the past to compile the differences to get the content of the revision you want, and will save a lot of storage. This can have a huge impact for attributes containing big texts and small changes.
We could also store only the atributes that have been changed.
Could we consider storing only the diffs between the previous and the current attribute instead of a full copy of the data to reduce storage usage?
This way, in case you want to revert, you would need to loop over all the past to compile the differences to get the content of the revision you want, and will save a lot of storage. This can have a huge impact for attributes containing big texts and small changes.
We could also store only the atributes that have been changed.