app.person_loyalty_programs
TablaSeguridad a nivel de fila activa
Travel loyalty programs a person belongs to (Section 4.5.6 item 10, travel profile), at most twenty live. Shared with an engagement under the Travel Profile category.
Clave primaria: id
| Columna | Tipo | Admite nulos | Descripción |
|---|---|---|---|
| id | uuid | No | Primary key, UUID v7. |
| deleted_at | timestamp with time zone | Sí | Soft delete time. A row with deleted_at set is ignored by every access helper. |
| person_id | uuid | No | Owner.Hace referencia a app.people.id |
| program_kind | app.loyalty_program_kind | No | Airline, Hotel, Car Rental or Rail. |
| program_name | text | No | Program, for example SkyMiles. Once per kind per person. |
| member_number | text | No | Membership number. Confidential. |
| sort_order | smallint | No | Display order. |
| 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 |