moped_components

103 rows


Description

Project facilities or components

Columns

Column Type Size Nulls Auto Default Children Parents Comments
component_id serial 10 nextval('moped_components_component_id_seq'::regclass)
moped_component_work_types.component_id moped_component_work_types_component_id_fkeyC
moped_components_subcomponents.component_id moped_components_subcomponents_component_id_fkeyC
moped_proj_components.component_id moped_proj_components_component_id_fkeyN
component_name text 2147483647 null
component_subtype text 2147483647 null
line_representation bool 1 false
feature_layer_id int4 10 null
feature_layers.id moped_components_feature_layer_id_fkeyR
is_deleted bool 1 false

Indicates soft deletion

asset_feature_layer_id int4 10 null
feature_layers.id moped_components_asset_feature_layer_id_fkeyN

Foreign key which indicates if the component supports storing data from a reference asset layer, and in which layer that data should be stored

component_name_full text 2147483647 CASE WHEN (component_subtype IS NULL) THEN component_name ELSE ((component_name || ' - '::text) || component_subtype) END

component name concatenated with component subtype, separated by -

Indexes

Constraint Name Type Sort Column(s)
moped_components_pkey Primary key Asc component_id

Relationships