ad_relationtype

18 rows


Columns

Column Type Size Nulls Auto Default Children Parents Comments
ad_client_id numeric 10 null
ad_org_id numeric 10 null
ad_reference_source_id numeric 10 NULL::numeric
ad_reference.ad_reference_id adreferencesource_adrelationty R
ad_reference_target_id numeric 10 NULL::numeric
ad_reference.ad_reference_id adreferencetarget_adrelationty R
ad_relationtype_id numeric 10 null
created timestamp 29,6 statement_timestamp()
createdby numeric 10 null
description varchar 255 NULL::character varying
isactive bpchar 1 'Y'::bpchar
isdirected bpchar 1 'N'::bpchar
name varchar 60 null
role_source varchar 50 null
role_target varchar 50 null
type bpchar 1 'I'::bpchar
updated timestamp 29,6 statement_timestamp()
updatedby numeric 10 null
ad_relationtype_uu varchar 36 NULL::character varying
entitytype varchar 40 'U'::character varying
ad_entitytype.entitytype entitytype_adrelationtype R

Indexes

Constraint Name Type Sort Column(s)
ad_relationtype_key Primary key Asc ad_relationtype_id
ad_relationtype_uu_idx Must be unique Asc ad_relationtype_uu

Check Constraints

Constraint Name Constraint
ad_relationtype_isactive_check ((isactive = ANY (ARRAY['Y'::bpchar, 'N'::bpchar])))
ad_relationtype_isdirected_check ((isdirected = ANY (ARRAY['Y'::bpchar, 'N'::bpchar])))

Relationships