Skip to content

app.record_replans

TableRow level security on

Append-only replan log (Section 3.10): from Scheduled onward every date or state change of a record is logged here; edits while Proposed or Ready overwrite with no entry.

Primary key: id

Columns of app.record_replans
ColumnTypeNullableDescription
iduuidNoPrimary key, UUID v7.
org_iduuidNoOwning org, derived from app.records on insert; never accepted from the caller and never changed.References app.organizations.id
record_iduuidNoRecord that was replanned.References app.records.id
from_statetextNoRecord state before the change.References xpms.dim_record_state.record_state
to_statetextNoRecord state after the change.References xpms.dim_record_state.record_state
old_starts_attimestamp with time zoneYesStart before the change.
new_starts_attimestamp with time zoneYesStart after the change.
old_ends_attimestamp with time zoneYesEnd before the change.
new_ends_attimestamp with time zoneYesEnd after the change.
old_due_attimestamp with time zoneYesDue time before the change.
new_due_attimestamp with time zoneYesDue time after the change.
reasontextYesReplan reason given with the change, when one was given.
created_attimestamp with time zoneNoWhen the row was inserted. Set by the database.
created_byuuidYesPerson who inserted the row, or null for a platform process. Set by the database.References app.people.id
updated_attimestamp with time zoneNoWhen the row last changed. Set by the database.
updated_byuuidYesPerson who last changed the row, or null for a platform process. Set by the database.References app.people.id
deleted_attimestamp with time zoneYesSoft delete time. A row with deleted_at set is ignored by every access helper.