Saltar al contenido

app.usage_rollups

TablaSeguridad a nivel de fila activa

Closed monthly usage totals per org and meter: the billing record reported to Stripe. Written once by the monthly rollup after the month ends and kept after the usage events age out (stored total registered in the denormalization register).

Clave primaria: id

Columnas de app.usage_rollups
ColumnaTipoAdmite nulosDescripción
iduuidNoPrimary key, UUID v7.
org_iduuidNoOwning org. A row never moves to another org.Hace referencia a app.organizations.id
meter_codetextNoMeter.Hace referencia a private.usage_meters.code
period_startdateNoFirst day of the month the total covers (UTC).
quantitybigintNoTotal usage in the month, summed from usage_events when the month closed.
closed_attimestamp with time zoneNoWhen the total was computed.
reported_attimestamp with time zoneSíWhen the total was reported to Stripe.
stripe_usage_record_idtextSíStripe usage record id returned on reporting.
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
deleted_attimestamp with time zoneSíSoft delete time. A row with deleted_at set is ignored by every access helper.