Skip to main content

components

NameTypeStorageNullableForeign KeysDefault Value & Notes
PKIDbigintplainComponent ID
creatorintegerplainusers.IDCreator user ID (defaults to authenticated user on creation)
creationdatebigintplainDefault: date_part('epoch', now())Creation date and time as a Unix timestamp (defaults to current date and time on creation)
lastmodifiedbigintplainDefault: date_part('epoch', now())Last modification date and time as a Unix timestamp (auto-reset on modification)
itemintegerplainitems.IDItem ID (**dependency**)
componentintegerplainitems.IDComponent item ID; must be distinct from `item`
amountdouble precisionplainDefault: 0Amount (quantity)
pricedouble precisionplainImputed price per unit
fixedsmallintplainDefault: 0Fixed quantity
orderintegerplainNo description provided.
NameUniqueNulls DistinctPrimaryPartialMethodKeys
fk_components_componentbtreecomponent
pk_componentsbtreeID
u_components_item_componentbtreeitem, component
NameType
c_components_componentcheck
dc_components_amountcheck
dc_components_amountcheck
fk_components_componentforeign_key
fk_components_creatorforeign_key
fk_components_itemforeign_key
pk_componentsprimary_key
u_components_item_componentunique
Loading...