feature_agency_xref

-1 rows


Description

Maintains a mapping between FEATURES and AGENCIES that allow for features to be displayed or hidden as required.

Columns

Column Type Size Nulls Auto Default Children Parents Comments
feature_agency_xref_guid uuid 2147483647 uuid_generate_v4()

System generated unique key for a FEATURE_AGENCY_XREF ecord. This key should never be exposed to users via any system utilizing the tables.

feature_code varchar 10 null
feature_code.feature_code FK_featurecd R

A human readable code used to identify a FEATURE that is controlled by the FEATURE_AGENCY_XREF table.

agency_code varchar 10 null
agency_code.agency_code FK_agencycode R

A human readable code used to identify an AGENCY.

active_ind bool 1 null

A boolean indicator to determine if the FEATURE should be rendered the for users in the given AGENCY

create_user_id varchar 32 null

The id of the user that created the FEATURE / AGENCY mapping.

create_utc_timestamp timestamp 29,6 null

The timestamp when the FEATURE / AGENCY mapping was created. The timestamp is stored in UTC with no Offset.

update_user_id varchar 32 null

The id of the user that updated the FEATURE / AGENCY mapping

update_utc_timestamp timestamp 29,6 null

The timestamp when the FEATURE / AGENCY mapping was updated. The timestamp is stored in UTC with no Offset.

Indexes

Constraint Name Type Sort Column(s)
PK_featagcyxr Primary key Asc feature_agency_xref_guid
UK_unique_feature_agency Must be unique Asc/Asc feature_code + agency_code

Relationships