Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reverse the stored history diffs #14

Open
Logikgate opened this issue Dec 7, 2021 · 0 comments
Open

Reverse the stored history diffs #14

Logikgate opened this issue Dec 7, 2021 · 0 comments

Comments

@Logikgate
Copy link
Member

Currently we store the history diffs in the direction of v3 -> v2 -> v1. Using this we can only recreate the versions if we have the latest version of the object. When that latest version of the object is deleted from the db it makes the history diffs useless.

To fix this we can reverse the way we store the diffs to "" -> v1 -> v2 -> v3. So we will always be able to recover any version of a record even if we don't have the latest version

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant