angee.parties.runtime_migrations.handle_normalized_value
Backfill the persisted comparison value for retained Handle rows.
applies
python
def applies(project_state: ProjectState) -> boolReturn whether Handle has its source fields but not normalized_value.
backfill_normalized_values
python
def backfill_normalized_values(apps, schema_editor) -> NonePopulate retained handles in bounded batches before enforcing NOT NULL.
Migration
python
class Migration(migrations.Migration)Add, backfill, index, and require Handle.normalized_value.