IRC_COMMUNICATIONS_HIGHLIGHTS

This table stores the communication highlights for the users.

Details

  • Schema: FUSION

  • Object owner: IRC

  • Object type: TABLE

  • Tablespace: Default

Primary Key

Name Columns

IRC_COMM_HIGHLIGHTS_PK

HIGHLIGHT_ID

Columns

Name Datatype Length Precision Not-null Comments
HIGHLIGHT_ID NUMBER 18 Yes Primary key for this table. System generated.
PERSON_ID NUMBER 18 Yes Person identifier for the user. It's a foreign key to table per_persons
ITEM_ID NUMBER 18 Yes Identifier for the communication item. This will be RECIPIENT_ID for email and post communications (FK to irc_cmt_recipients table). It can also have values from other tables in the future.
ITEM_TYPE VARCHAR2 30 Yes Stores the type of the highlighted item. This could have values such as EMAIL, POST etc.
SCORE NUMBER Yes The score of the item, which will decide where the item should appear in the highlights carousel
ITEM_SOURCE VARCHAR2 30 Yes Indicates if the item is from AI recommendations or DEFAULT criteria to fetch highlights
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.
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.

Foreign Keys

Table Foreign Table Foreign Key Column
IRC_COMMUNICATIONS_HIGHLIGHTS per_persons PERSON_ID

Indexes

Index Uniqueness Tablespace Columns
IRC_COMM_HIGHLIGHTS_N1 Non Unique Default PERSON_ID, ITEM_TYPE, CREATION_DATE
IRC_COMM_HIGHLIGHTS_N2 Non Unique Default PERSON_ID, ITEM_TYPE, SCORE
IRC_COMM_HIGHLIGHTS_N3 Non Unique Default PERSON_ID, ITEM_ID
IRC_COMM_HIGHLIGHTS_N4 Non Unique Default PERSON_ID, ITEM_SOURCE, ITEM_TYPE, CREATION_DATE
IRC_COMM_HIGHLIGHTS_PK Unique Default HIGHLIGHT_ID