Skip to content

app.report_runs

TableRow level security on

Runs of a report. A run executes with the row level security and masking of the member it runs for, never more.

Primary key: id

Columns of app.report_runs
ColumnTypeNullableDescription
iduuidNoPrimary key, UUID v7.
org_iduuidNoOwning org, derived from app.report_definitions on insert; never accepted from the caller and never changed.References app.organizations.id
report_definition_iduuidNoReport run.References app.report_definitions.id
run_for_membership_iduuidNoMember whose access the run uses and who receives the result.References app.memberships.id
export_formatapp.export_formatNoResult file format.
run_statusapp.run_statusNoQueued, Running, Succeeded or Failed.
started_attimestamp with time zoneYesWhen the run started.
finished_attimestamp with time zoneYesWhen it finished.
row_countintegerYesRows in the result.
unpriced_countintegerYesRows whose money was NULL (unpriced) and so left out of totals, shown beside them.
storage_object_pathtextYesResult file once ready.
last_errortextYesWhy the run failed.
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.