app.sandbox_orgs
TableRow level security on
A private sandbox org (Section 11.7, A65-022): one per person, filled from the sandbox template, never billed, sending no email or SMS and open to nobody else. It is purged with all its rows once expires_at passes. Written only by app.open_my_sandbox and the purge.
Primary key: id
| Column | Type | Nullable | Description |
|---|---|---|---|
| id | uuid | No | Primary key, UUID v7. |
| org_id | uuid | No | The sandbox org.References app.organizations.id |
| person_id | uuid | No | Person the sandbox belongs to, its only member.References app.people.id |
| expires_at | timestamp with time zone | No | Instant the sandbox ends; the hourly purge removes it after this. |
| purge_error | text | Yes | Why the last purge attempt failed, for the platform team; null while none has. |
| created_at | timestamp with time zone | No | When the row was inserted. Set by the database. |
| created_by | uuid | Yes | Person who inserted the row, or null for a platform process. Set by the database.References app.people.id |
| updated_at | timestamp with time zone | No | When the row last changed. Set by the database. |
| updated_by | uuid | Yes | Person who last changed the row, or null for a platform process. Set by the database.References app.people.id |
| deleted_at | timestamp with time zone | Yes | Soft delete time. A row with deleted_at set is ignored by every access helper. |