RecordDelta
Overview
What differs between two events, and the two events themselves.
A pghistory event model holds the tracked row's own columns and nothing that compares them, so the comparison lives here. Everything downstream reads changes, old_record, and new_record.
__init__
Signature
__init__(changes, old_record, new_record)
Parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| changes | yes | |||
| old_record | yes | |||
| new_record | yes |
Source
server/vueda/workflow/management/commands/makeworkflowmigrations.py:1143
changes
new_record
old_record
Source
server/vueda/workflow/management/commands/makeworkflowmigrations.py:1133