Skip to content

app.white_label_grace

TableRow level security on

White label kept after a downgrade (Section 12): when an org's plan stops including white label, its brand without "Powered by XOS" and its custom domains stay until the end of the billing period already paid for, with notice to every Owner, then revert to default branding. Written only by the subscription trigger and the lifecycle job.

Primary key: id

Columns of app.white_label_grace
ColumnTypeNullableDescription
iduuidNoPrimary key, UUID v7.
org_iduuidNoOwning org. A row never moves to another org.References app.organizations.id
plan_fromtextNoPlan that included white label before the change.References app.plans.code
kept_untiltimestamp with time zoneNoEnd of the paid billing period: white label reverts then.
ended_attimestamp with time zoneYesWhen the grace ended.
end_reasontextYesreverted (the period ended) or plan_regained (the org moved back to a plan with white label).
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
deleted_attimestamp with time zoneYesSoft delete time. A row with deleted_at set is ignored by every access helper.