Saltar al contenido

app.addon_purchases

TablaSeguridad a nivel de fila activa

One-time add-ons an org paid for through Stripe Checkout, such as an Aurora request pack (ADR 0035). Each raises its limit for the UTC calendar month it was paid in. Written once per Checkout session by app.record_addon_purchase_from_stripe; append-only.

Clave primaria: id

Columnas de app.addon_purchases
ColumnaTipoAdmite nulosDescripción
iduuidNoPrimary key, UUID v7.
org_iduuidNoOwning org. A row never moves to another org.Hace referencia a app.organizations.id
addon_codetextNoAdd-on code from packages/schemas/plans.yaml.
quantityintegerNoUnits bought.
applies_monthdateNoFirst day of the UTC calendar month the purchase raises the limit for.
stripe_checkout_session_idtextNoStripe Checkout session (cs_...) that was paid, unique.
currency_codecharacter(3)NoCurrency the org paid in.Hace referencia a private.currencies.currency_code
amount_total_minorbigintNoAmount paid in minor units, after discounts and before tax, as Stripe reports it.
livemodebooleanNoTrue for live mode payments.
paid_attimestamp with time zoneNoWhen Stripe completed the payment.
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.