Refactor: allow version 0 in record history and backfill for old records
Refactor: allow version 0 in record history and backfill for old records
Description
This MR is regarding refactoring the record-history for allowing version 0 for all records.
This also has 2 kinds of backfills one for backfilling version 0 for records without any record history in the migration script itself and another dedicated backfill script for backfilling version 0 by reconstructing based on the other versions present.
Checklist
-
Code has been refactored for clarity, maintainability, or performance. -
No functional changes have been introduced. -
All existing tests are passing. -
Code adheres to project coding standards.
Related Issue(s)
Closes #89 (closed)