app.org_cancellations
TablaSeguridad a nivel de fila activa
An org's cancellation (Section 14.7): read-only for 30 days with the full export available, data deleted at day 90 with a deletion certificate to the Owner. Written only by app.cancel_organization and app.reactivate_organization.
Clave primaria: id
| Columna | Tipo | Admite nulos | Descripción |
|---|---|---|---|
| id | uuid | No | Primary key, UUID v7. |
| org_id | uuid | No | Owning org. A row never moves to another org.Hace referencia a app.organizations.id |
| reason | text | No | Why the org was canceled, in the Owner's words. |
| canceled_at | timestamp with time zone | No | When the Owner canceled. |
| read_only_until | timestamp with time zone | No | End of the 30-day read-only window with the full export. |
| purge_after | timestamp with time zone | No | Day 90: when the org's data is deleted. |
| reactivated_at | timestamp with time zone | Sí | When the Owner reactivated the org inside the 30 days. |
| reactivated_by | uuid | Sí | Owner who reactivated it.Hace referencia a app.people.id |
| created_at | timestamp with time zone | No | When the row was inserted. Set by the database. |
| created_by | uuid | Sí | Person who inserted the row, or null for a platform process. Set by the database.Hace referencia a app.people.id |
| updated_at | timestamp with time zone | No | When the row last changed. Set by the database. |
| updated_by | uuid | Sí | Person who last changed the row, or null for a platform process. Set by the database.Hace referencia a app.people.id |
| deleted_at | timestamp with time zone | Sí | Soft delete time. A row with deleted_at set is ignored by every access helper. |