app.person_calendar_feeds
TablaSeguridad a nivel de fila activa
A person's own iCalendar feed across every org they work with through an engagement (Section 4.5.8 Work, Upcoming; Section 4.6.5): their published shifts and the meetings, milestones and deadlines shared with them, read through the api_external projections. Only a SHA-256 hash of the token is kept; the token is shown once and can be rotated or revoked.
Clave primaria: id
| Columna | Tipo | Admite nulos | Descripción |
|---|---|---|---|
| id | uuid | No | Primary key, UUID v7. |
| person_id | uuid | No | Person who owns the feed; it shows what Gateway shows them.Hace referencia a app.people.id |
| token_hash | bytea | No | SHA-256 of the feed token. |
| token_hint | text | No | Last four characters of the token, to tell feeds apart. |
| last_accessed_at | timestamp with time zone | Sí | Last time a calendar fetched the feed. |
| rotated_at | timestamp with time zone | Sí | When the token was last replaced; the previous token stopped working then. |
| revoked_at | timestamp with time zone | Sí | When the feed was revoked; a revoked feed serves nothing and never comes back. |
| 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. |