Saltar al contenido

app.attendance_counts

TablaSeguridad a nivel de fila activa

Attendance imported from a ticketing source (Section 17) for the gate 8 measurement: tickets sold, scanned and comped per project, show, day and ticket class. A newer import of the same day and class replaces the older figures. Gross is NULL when the source does not price it, never zero.

Clave primaria: id

Columnas de app.attendance_counts
ColumnaTipoAdmite nulosDescripción
iduuidNoPrimary key, UUID v7.
org_iduuidNoOwning org, derived from app.projects on insert; never accepted from the caller and never changed.Hace referencia a app.organizations.id
project_iduuidNoProject measured.Hace referencia a app.projects.id
scope_node_iduuidSíShow or other scope node of the project, when the source names one.Hace referencia a app.scope_nodes.id
integration_connection_iduuidNoTicketing connection the figures came from.Hace referencia a app.integration_connections.id
integration_sync_run_iduuidSíSync run that imported the figures, or NULL for a hand correction.Hace referencia a app.integration_sync_runs.id
counted_ondateNoDay the figures cover.
ticket_classtextNoTicket class as the source names it.
tickets_soldintegerNoTickets sold.
tickets_scannedintegerSíTickets scanned at the gate, when the source reports it.
compsintegerSíComplimentary tickets issued, when the source reports it.
gross_minorbigintSíGross ticket revenue in minor units of currency_code; NULL when unpriced.
currency_codecharacter(3)SíISO 4217 currency of gross_minor.Hace referencia a private.currencies.currency_code
deleted_attimestamp with time zoneSíSoft delete time. A row with deleted_at set is ignored by every access helper.
created_attimestamp with time zoneNoWhen the row was inserted. Set by the database.
created_byuuidSíPerson who inserted the row, or null for a platform process. Set by the database.Hace referencia a app.people.id
updated_attimestamp with time zoneNoWhen the row last changed. Set by the database.
updated_byuuidSíPerson who last changed the row, or null for a platform process. Set by the database.Hace referencia a app.people.id