Implement background migration to set `traversal_ids` and `archived` columns for the existing `vulnerability_reads` records
Why are we doing this work
After adding the traversal_ids
and archived
columns to the vulnerability_reads
table, and adjusting the ingestion logic to set the values for the new records, we need to run a background migration to set these attributes for the already existing records.
Implementation plan
-
database Implement a background migration to set the traversal_ids
andarchived
columns for the existingvulnerability_reads
records.
Verification steps
-
Verify that all the vulnerability_reads
records have these new attributes set.