Skip to content

app.plan_overrides

TableRow level security on

An operator's time-boxed change to an org's plan (A90, Section 16): the whole plan, one plan feature on or off, or one countable limit. Written only by the console RPCs with a reason and an expiry of at most a year; ended early at most once. Live overrides drive private.org_plan_limits and private.org_has_feature; billing keeps the subscription's plan.

Primary key: id

Columns of app.plan_overrides
ColumnTypeNullableDescription
iduuidNoPrimary key, UUID v7.
org_iduuidNoOwning org. A row never moves to another org.References app.organizations.id
override_kindapp.plan_override_kindNoPlan, Feature or Limit.
plan_codetextYesPlan the org is held to while a Plan override lasts.References app.plans.code
feature_codeapp.plan_feature_codeYesPlan feature a Feature override turns on or off.
feature_enabledbooleanYesWhether a Feature override turns the feature on (true) or off (false).
limit_codeapp.plan_limit_codeYesCountable limit a Limit override sets.
limit_valuebigintYesLimit in force while a Limit override lasts; null is unlimited.
reasontextNoWhy the platform team made the override.
starts_attimestamp with time zoneNoWhen the override began.
expires_attimestamp with time zoneNoWhen the override stops applying, at most a year after it began.
ended_attimestamp with time zoneYesWhen an operator ended the override early, or a newer override replaced it.
ended_byuuidYesOperator who ended it early.References app.people.id
end_reasontextYesWhy it ended early.
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.