components


Columns

Column Type Size Nulls Auto Default Children Parents Comments
ID bigserial 19 nextval('"components_ID_seq"'::regclass)
creator int4 10 null
users.ID FK_components_creator N

The object creator

creationdate int8 19 (date_part('epoch'::text, now()))::bigint

Last modification date/time (Unix timestamp in seconds)

lastmodified int8 19 (date_part('epoch'::text, now()))::bigint

Last modification date/time (Unix timestamp in seconds)

item int4 10 null
items.ID FK_components_item C
component int4 10 null
items.ID FK_components_component C
amount float8 17,17 1
price float8 17,17 null

Table contained 0 rows

Indexes

Constraint Name Type Sort Column(s)
PK_components_ID Primary key Asc ID
UNQ_components_item_component Must be unique Asc/Asc item + component

Relationships