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

Follow up un-archiving - DEC 2018 #2406

Open
colinbruce opened this issue Jun 14, 2018 · 2 comments
Open

Follow up un-archiving - DEC 2018 #2406

colinbruce opened this issue Jun 14, 2018 · 2 comments

Comments

@colinbruce
Copy link
Contributor

colinbruce commented Jun 14, 2018

See #2405

After an update to paper trail, previous versions of claims could not be restored.

As claims are archived, natural wastage should ensure they should drop out of the database.

Once they are all gone, this class will be superflouous and can be removed.

Run the following query to see how many stored versions remain.

SELECT count(*) FROM versions WHERE object ~ '.*evidence_checklist_ids:\n-.*';

Initial count: 1,229,882

@colinbruce
Copy link
Contributor Author

Count on 12 November: 1,230,027
Are versions deleted when the source is? I would have expected the number to reduce significantly since June 🤔
For the record, ran

ActiveRecord::Base.connection.execute("SELECT count(*) FROM versions WHERE object ~ '.*evidence_checklist_ids:\n-.*';").to_a

@mpw5
Copy link
Contributor

mpw5 commented Apr 26, 2022

Count on 26 April 2022: 1,230,267 😬

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

2 participants