Skip to content

app.org_deletion_requests

TableRow level security on

An Owner's request to delete the org (Section 14.7), separate from cancellation: made with step-up and the typed org name, it ends the subscription and makes the org read-only at once; the Owner may recover the org for 7 days, after which its data is deleted and the Owner receives a deletion certificate. Written only by app.request_org_deletion and app.recover_org_deletion.

Primary key: id

Columns of app.org_deletion_requests
ColumnTypeNullableDescription
iduuidNoPrimary key, UUID v7.
org_iduuidNoOwning org. A row never moves to another org.References app.organizations.id
reasontextNoWhy the org is deleted, in the Owner's words.
requested_attimestamp with time zoneNoWhen the Owner asked for deletion.
recover_untiltimestamp with time zoneNoEnd of the recovery window: midnight on the org's calendar after the seventh whole day after the request; the org is deleted after it.
requested_byuuidNoOwner who asked for deletion.References app.people.id
recovered_attimestamp with time zoneYesWhen an Owner recovered the org inside the window.
recovered_byuuidYesOwner who recovered it.References app.people.id
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.