CREATE TABLE irc_lc_event_msg (
    MSG_ID                    NUMBER(18, 0) ,
    EVENT_CODE                VARCHAR2(1024)    NOT NULL,
    CONTEXT_ID                NUMBER(18, 0)     NOT NULL,
    CONTEXT_TYPE              VARCHAR2(120)     NOT NULL,
    TARGET_PROCESSING_DATE    TIMESTAMP(6)  ,
    ERROR_MESSAGE             VARCHAR2(1000),
    ERROR_STACK               CLOB          ,
    OBJECT_VERSION_NUMBER     NUMBER(9, 0)      NOT NULL,
    CREATED_BY                VARCHAR2(256)     NOT NULL,
    CREATION_DATE             TIMESTAMP(6)      NOT NULL,
    LAST_UPDATED_BY           VARCHAR2(256)     NOT NULL,
    LAST_UPDATE_DATE          TIMESTAMP(6)      NOT NULL,
    LAST_UPDATE_LOGIN         VARCHAR2(128) ,
    EVENT_TYPE                VARCHAR2(128) ,
    ACTION_PARAMS             VARCHAR2(4000),
    MSG_ID                    NUMBER(18, 0) ,
    EVENT_CODE                VARCHAR2(1024)    NOT NULL,
    CONTEXT_ID                NUMBER(18, 0)     NOT NULL,
    CONTEXT_TYPE              VARCHAR2(120)     NOT NULL,
    TARGET_PROCESSING_DATE    TIMESTAMP(6)  ,
    ERROR_MESSAGE             VARCHAR2(1000),
    ERROR_STACK               CLOB          ,
    OBJECT_VERSION_NUMBER     NUMBER(9, 0)      NOT NULL,
    CREATED_BY                VARCHAR2(256)     NOT NULL,
    CREATION_DATE             TIMESTAMP(6)      NOT NULL,
    LAST_UPDATED_BY           VARCHAR2(256)     NOT NULL,
    LAST_UPDATE_DATE          TIMESTAMP(6)      NOT NULL,
    LAST_UPDATE_LOGIN         VARCHAR2(128) ,
    EVENT_TYPE                VARCHAR2(128) ,
    ACTION_PARAMS             VARCHAR2(4000),
    CONSTRAINT pk_irc_lc_event_msg PRIMARY KEY (MSG_ID, MSG_ID)
);
