Skip to content

app.asset_units

TableRow level security on

Individual assets (Section 3.9 unit grain) tracked by asset tag, with the nine-value lifecycle.

Primary key: id

Columns of app.asset_units
ColumnTypeNullableDescription
iduuidNoPrimary key, UUID v7.
org_iduuidNoOwning org, derived from app.asset_classes on insert; never accepted from the caller and never changed.References app.organizations.id
asset_class_iduuidNoClass of the unit.References app.asset_classes.id
asset_tagtextNoAsset tag, a code of ours unique within the org.
asset_stateapp.asset_stateNoLifecycle state. Changes only through app.transition_asset.
condition_enum_idtextYesCondition: a row of the canon Asset Condition enumeration.References xpms.std_enumeration.record_id
home_venue_iduuidYesVenue the unit returns to.References app.venues.id
deleted_attimestamp with time zoneYesSoft delete time. A row with deleted_at set is ignored by every access helper.
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