Skip to content

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 ​

NameTypeRequiredDefaultDescription
changesyes
old_recordyes
new_recordyes

Source ​

server/vueda/workflow/management/commands/makeworkflowmigrations.py:1143

changes ​

new_record ​

old_record ​

Source ​

server/vueda/workflow/management/commands/makeworkflowmigrations.py:1133