PSC_CE_CASE_HISTORY
Stores the history of changes for code enforcement cases.
Details
-
Schema: FUSION
-
Object owner: PSC_CE
-
Object type: TABLE
-
Tablespace: Default
Primary Key
| Name | Columns |
|---|---|
|
PSC_CE_CASE_HISTORY_PK |
CASE_HISTORY_KEY |
Columns
| Name | Datatype | Length | Precision | Not-null | Comments |
|---|---|---|---|---|---|
| CASE_HISTORY_KEY | NUMBER | 18 | Yes | Unique key to identify a case history record. | |
| CASE_HISTORY_PUID | VARCHAR2 | 480 | Yes | Indicates the public unique identifier of the case history record. | |
| CASE_KEY | NUMBER | 18 | Yes | Indicates the case associated with this case contact record. | |
| CASE_PUID | VARCHAR2 | 480 | Yes | Indicates the public unique identifier of the case. | |
| SRC_TRX_KEY | NUMBER | 18 | To indicate the source transaction key. | ||
| HISTORY_TYPE | VARCHAR2 | 15 | Yes | Indicates the type of the case history record. | |
| HISTORY_TIMESTAMP | TIMESTAMP | Yes | Indicates that the creation timestamp of the case history record. | ||
| ATTRIBUTE_NAME | VARCHAR2 | 30 | Yes | This column is to indicate the attribute that was modified. | |
| ATTRIBUTE_OLD_VALUE | VARCHAR2 | 1000 | This column is used to indicate the attribute old value at the time of modification. | ||
| ATTRIBUTE_NEW_VALUE | VARCHAR2 | 1000 | This column is used to indicate the attribute new value at the time of modification. | ||
| CHANGE_REASON | VARCHAR2 | 1000 | Indicates that the reason for the modifying the attribute. | ||
| MIGRATED_DATA_FLAG | VARCHAR2 | 3 | Indicates in-flight or historical transaction for data migration. | ||
| OBJECT_VERSION_NUMBER | NUMBER | 9 | Yes | Used to implement optimistic locking. This number is incremented every time that 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. | |
| CREATION_DATE | TIMESTAMP | Yes | Who column: indicates the date and time of the creation of the row. | ||
| CREATED_BY | VARCHAR2 | 64 | Yes | Who column: indicates the user who created the row. | |
| LAST_UPDATED_BY | VARCHAR2 | 64 | Yes | Who column: indicates the user who last updated the row. | |
| LAST_UPDATE_DATE | TIMESTAMP | Yes | Who column: indicates the date and time of the last update of the row. | ||
| LAST_UPDATE_LOGIN | VARCHAR2 | 32 | Who column: indicates the session login associated to the user who last updated the row. |
Foreign Keys
| Table | Foreign Table | Foreign Key Column |
|---|---|---|
| PSC_CE_CASE_HISTORY | psc_ce_case | CASE_KEY |
Indexes
| Index | Uniqueness | Tablespace | Columns |
|---|---|---|---|
| PSC_CE_CASE_HISTORY_N1 | Non Unique | Default | CASE_KEY |
| PSC_CE_CASE_HISTORY_PK | Unique | Default | CASE_HISTORY_KEY |
| PSC_CE_CASE_HISTORY_U1 | Unique | Default | CASE_HISTORY_PUID |