Saltar al contenido

app.subscriptions

TablaSeguridad a nivel de fila activa

Present only when an organization uses Atlas (Section 4.8.1). At most one subscription per org is not canceled.

Clave primaria: id

Columnas de app.subscriptions
ColumnaTipoAdmite nulosDescripción
iduuidNoSubscription id.
org_iduuidNoSubscribing organization.Hace referencia a app.organizations.id
plan_codetextNoCurrent plan.Hace referencia a app.plans.code
subscription_stateapp.subscription_stateNoLifecycle state, changed only by private.transition_subscription.
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.
extra_seatsintegerNoSeats bought above the plan's seat allowance: the quantity of the plan's extra-seat price on the Stripe subscription. Set only by app.sync_subscription_from_stripe (ADR 0035).
seats_grandfatheredbooleanNoTrue for a paid subscription that existed before plans had seat limits (pricing v4): it keeps unlimited seats until its plan changes or it ends (ADR 0035).
trial_ends_attimestamp with time zoneSíWhen the trial of this subscription ends (Section 14.7): set while it is trialing and kept as history after it converts or moves to Access. Written only by private.start_trial.