CSO_DB_TOPIC
This table contains the discussion topic records.
Details
-
Schema: FUSION
-
Object owner: CSO
-
Object type: TABLE
-
Tablespace: TRANSACTION_TABLES
Primary Key
Name | Columns |
---|---|
CSO_DB_TOPIC_PK |
RECORD_ID |
Columns
Name | Datatype | Length | Precision | Not-null | Comments |
---|---|---|---|---|---|
ACTUAL_RATING | NUMBER | Actual rating for the topic record. | |||
CLOSED | NUMBER | Yes | Flag indicating that the record was closed. Values 0-Open, 1-Closed. | ||
DATE_ADDED | TIMESTAMP | Yes | This is the datetime that the record was added to the repository. | ||
DATE_MODIFIED | TIMESTAMP | Yes | Datetime record was last modified in repository. | ||
REDIRECT_EXPIRY_DATE | TIMESTAMP | Datetime the topic redirect will expire. | |||
REDIRECT_TOPIC_ID | VARCHAR2 | 32 | This is the GUID reference to the redirected topic | ||
FORUM_ID | VARCHAR2 | 32 | Yes | This is the GUID reference to the forum record. | |
IP_ADDRESS | VARCHAR2 | 255 | IP Address from which the request was made to create this record. | ||
LOCALE_ID | VARCHAR2 | 32 | Yes | This is the GUID reference to the locale record. | |
MODERATE | NUMBER | Flag indicating that the record needs moderation. Values 0-false, 1-true. | |||
PUBLISHED | NUMBER | Flag indicating that the record is published or not. Values 0-false, 1-true. | |||
RECORD_ID | VARCHAR2 | 32 | Yes | This is the primary key of the table. | |
STATUS | NUMBER | Yes | Flag that indicates the status of the topic record. Values 0-Asnwered, 1-Helpful, 2-Solved. | ||
TITLE | VARCHAR2 | 4000 | This is the title for the topic record. | ||
TYPE | NUMBER | Yes | Flag that indicates the type of the topic record. Values 1-Normal, 2-Question, 3-Announcement. | ||
USER_ID | VARCHAR2 | 32 | This is the obsolete GUID reference to the user record that created the record. | ||
USER_NAME | VARCHAR2 | 100 | Yes | Full name of user record that created the record. | |
USER_NICKNAME | VARCHAR2 | 100 | Nickname of user record that created the record. | ||
WEIGHTED_RATING | NUMBER | Weighted rating for the topic record calculated using the Bayesian Formula. The idea is that the more the votes, the more representative the average rating is. | |||
USER_PARTY_ID | NUMBER | 18 | This is the ID of the user that created the record. |
Foreign Keys
Table | Foreign Table | Foreign Key Column |
---|---|---|
CSO_DB_TOPIC | cso_locale | LOCALE_ID |
CSO_DB_TOPIC | cso_db_forum | FORUM_ID |
cso_db_topic_file | cso_db_topic | DB_TOPIC_ID |
cso_subscription | cso_db_topic | TOPIC_ID |
cso_db_abuse | cso_db_topic | TOPIC_ID |
cso_db_topic_metrics | cso_db_topic | TOPIC_ID |
cso_db_message | cso_db_topic | TOPIC_ID |
Indexes
Index | Uniqueness | Tablespace | Columns |
---|---|---|---|
CSO_DB_TOPIC_N3 | Non Unique | Default | FORUM_ID, LOCALE_ID, STATUS |
CSO_DB_TOPIC_N5 | Non Unique | Default | FORUM_ID, LOCALE_ID, USER_PARTY_ID, STATUS |
CSO_DB_TOPIC_N6 | Non Unique | Default | PUBLISHED |
CSO_DB_TOPIC_N7 | Non Unique | Default | LOCALE_ID |
CSO_DB_TOPIC_U1 | Unique | Default | RECORD_ID |
CSO_DB_TOPIC_UK1 | Unique | Default | RECORD_ID, PUBLISHED, FORUM_ID |