ARM_HISTORY
This table stores the history of a task, template, schedule, or task type.
Details
Object type: TABLE
Primary Key
Name | Columns |
---|---|
ARM_HISTORY_PK |
HISTORY_FIELD_ID |
Columns
Name | Data Type | Length | Precision | Scale | Null Allowed | Comments |
---|---|---|---|---|---|---|
HISTORY_FIELD_ID |
NUMBER |
18 |
0 |
No |
The history field unique identifier |
|
OBJECT_ID |
NUMBER |
18 |
0 |
No |
The object ID of this history entry |
|
OBJECT_TYPE |
VARCHAR2 |
8 |
Yes |
The object type of this history entry |
||
OBJECT_NAME |
VARCHAR2 |
256 |
Yes |
The object name of this history entry |
||
SUPPORTING_OBJECT_ID |
NUMBER |
18 |
0 |
Yes |
An ID to the object referenced by this entry. For instance, the Attribute ID for the change in an attribute value |
|
SUPPORTING_OBJECT |
VARCHAR2 |
765 |
Yes |
A supporting object field. A general use field in case the other fields are not enough to store the history |
||
FIELD_ID |
NUMBER |
9 |
0 |
No |
The field ID which states what field (such as task name, start date, end date, etc.) changed. Refer to HistoryManager.java for the full enumeration |
|
CHANGE_TYPE_ID |
NUMBER |
9 |
0 |
No |
The ID of the change type, such as Added, Removed, and Modified. Refer to HistoryManager.java for the full enumeration. |
|
OLD_VALUE |
VARCHAR2 |
4000 |
Yes |
The prior value of the field |
||
NEW_VALUE |
VARCHAR2 |
4000 |
Yes |
The new value of the field |
||
CHANGED_BY |
VARCHAR2 |
255 |
No |
The person who made the modification |
||
CHANGED_ON |
TIMESTAMP(6) |
No |
The date of the modification |
|||
OBJECT_VERSION_NUMBER |
NUMBER |
9 |
0 |
No |
Used to implement optimistic locking. This number is incremented every time the row is updated. The number is compared at the start and end of a transaction to detect whether another session has updated the row since it was queried. |
|
LAST_UPDATE_LOGIN |
NUMBER |
Yes |
Who column. Stores the login/session ID of the user who last updated this row. |
|||
LAST_UPDATE_DATE |
DATE |
No |
Who column. Stores the date when this row was last updated. |
|||
LAST_UPDATED_BY |
VARCHAR2 |
255 |
No |
Who column. Stores the ID of the user who last updated this row. |
||
CREATION_DATE |
DATE |
No |
Who column. Stores the date when this row was created in the database. |
|||
CREATED_BY |
VARCHAR2 |
255 |
No |
Who column. Stores the ID of the user who created this row. |
Indexes
Index | Uniqueness | Columns |
---|---|---|
ARM_HISTORY_N1 |
NONUNIQUE |
OBJECT_ID |
ARM_HISTORY_N2 |
NONUNIQUE |
FIELD_ID |
ARM_HISTORY_N3 |
NONUNIQUE |
CHANGED_ON |
ARM_HISTORY_PK |
UNIQUE |
HISTORY_FIELD_ID |