Skip to content

app.person_loyalty_programs

TableRow level security on

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.

Primary key: id

Columns of app.person_loyalty_programs
ColumnTypeNullableDescription
iduuidNoPrimary key, UUID v7.
deleted_attimestamp with time zoneYesSoft delete time. A row with deleted_at set is ignored by every access helper.
person_iduuidNoOwner.References app.people.id
program_kindapp.loyalty_program_kindNoAirline, Hotel, Car Rental or Rail.
program_nametextNoProgram, for example SkyMiles. Once per kind per person.
member_numbertextNoMembership number. Confidential.
sort_ordersmallintNoDisplay order.
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