Columns
| Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | |||
|---|---|---|---|---|---|---|---|---|---|---|---|
| id | serial | 10 | √ | nextval('tbl_documenthistory_id_seq'::regclass) |
|
|
Primary key |
||||
| documentid | int8 | 19 | null |
|
|
FK: public.tbl_document.id |
|||||
| documentcategoryid | int8 | 19 | null |
|
|
Historical Snapshot: Category ID at the time of the change event. |
|||||
| documentcategoryname | text | 2147483647 | √ | null |
|
|
Historical Snapshot: Category name at the time of the change event. |
||||
| documentname | text | 2147483647 | √ | null |
|
|
Historical Snapshot: Document name/title at the time of the change. |
||||
| documentdescription | text | 2147483647 | √ | null |
|
|
Historical Snapshot: Document description as it existed during the change. |
||||
| applicablecriteria | text | 2147483647 | √ | null |
|
|
Historical Snapshot: JSON criteria rules active at the time of change. |
||||
| acknowledgementrequired | bool | 1 | false |
|
|
Historical Snapshot: Acknowledgment requirement setting at change time. |
|||||
| content | text | 2147483647 | √ | null |
|
|
Historical Snapshot: Document content/body at the time of change. |
||||
| downloadrequired | bool | 1 | false |
|
|
Historical Snapshot: Download requirement setting at change time. |
|||||
| showtoemployee | bool | 1 | true |
|
|
Historical Snapshot: Employee visibility setting at change time. |
|||||
| attachment | text | 2147483647 | √ | null |
|
|
Historical Snapshot: File attachment reference at the time of change. |
||||
| status | bool | 1 | true |
|
|
Historical Snapshot: Active/Inactive status at the time of change. |
|||||
| createdby | varchar | 500 | √ | null |
|
|
|||||
| createddate | timestamp | 29,6 | √ | null |
|
|
|||||
| modifiedby | varchar | 500 | √ | null |
|
|
|||||
| modifieddate | timestamp | 29,6 | √ | null |
|
|
Indexes
| Constraint Name | Type | Sort | Column(s) |
|---|---|---|---|
| tbl_documenthistory_pkey | Primary key | Asc | id |


