Columns
Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | |||
---|---|---|---|---|---|---|---|---|---|---|---|
document_code | varchar | 10 | null |
|
|
User supplied value to uniquely identify a DOCUMENT CODE |
|||||
description | varchar | 100 | null |
|
|
Description of the DOCUMENT CODE |
|||||
sort_order | int4 | 10 | null |
|
|
The relative order in which the DOCUMENT CODE is displayed to the user |
|||||
system_required_ind | varchar | 1 | null |
|
|
Indicates whether or not the code is required by the system. If yes, the users would be prevented from updating or deleting the code value. |
|||||
publicly_viewable_ind | varchar | 1 | √ | 'Y'::character varying |
|
|
Indicates if documents of this type can by default be viewed publicly |
||||
who_created | varchar | 32 | null |
|
|
WHO CREATED is the IDIR or Oracle userid of the person who created the record. |
|||||
when_created | timestamp | 29,6 | null |
|
|
WHEN CREATED is the date/time that the record was created. |
|||||
who_updated | varchar | 32 | √ | null |
|
|
WHO UPDATED is the IDIR or Oracle userid of the person who last updated the record. |
||||
when_updated | timestamp | 29,6 | √ | null |
|
|
WHEN UPDATED is the date/time that the record was last updated. |
||||
revision_count | int8 | 19 | 0 |
|
|
REVISION COUNT is used by Hibernate to control optimistic locking |
Indexes
Constraint Name | Type | Sort | Column(s) |
---|---|---|---|
oats_document_codes_pkey | Primary key | Asc | document_code |
oats_document_codes_sort_order_key | Must be unique | Asc | sort_order |
Check Constraints
Constraint Name | Constraint |
---|---|
oats_docd_pvi_chk | ((publicly_viewable_ind)::text = ANY ((ARRAY['Y'::character varying, 'N'::character varying])::text[])) |
oats_docd_sri_chk | ((system_required_ind)::text = ANY ((ARRAY['Y'::character varying, 'N'::character varying])::text[])) |