CREATE TABLE cz_config_messages (
    MESSAGE_ID               NUMBER(18, 0) ,
    LINE_ID                  NUMBER(18, 0)     NOT NULL,
    HEADER_ID                NUMBER(18, 0) ,
    REVISION_NUMBER          NUMBER(18, 0) ,
    MESSAGE_TYPE             VARCHAR2(4)       NOT NULL,
    DETAILED_MESSAGE_TYPE    VARCHAR2(800) ,
    MESSAGE_TEXT             VARCHAR2(4000),
    DELETED_FLAG             NUMBER(18, 0)     NOT NULL,
    CREATION_DATE            TIMESTAMP(6)      NOT NULL,
    CREATED_BY               VARCHAR2(256)     NOT NULL,
    LAST_UPDATE_DATE         TIMESTAMP(6)      NOT NULL,
    LAST_UPDATED_BY          VARCHAR2(256)     NOT NULL,
    LAST_UPDATE_LOGIN        VARCHAR2(128) ,
    OBJECT_VERSION_NUMBER    NUMBER(9, 0)      NOT NULL,
    MESSAGE_ID               NUMBER(18, 0) ,
    LINE_ID                  NUMBER(18, 0)     NOT NULL,
    HEADER_ID                NUMBER(18, 0) ,
    REVISION_NUMBER          NUMBER(18, 0) ,
    MESSAGE_TYPE             VARCHAR2(4)       NOT NULL,
    DETAILED_MESSAGE_TYPE    VARCHAR2(800) ,
    MESSAGE_TEXT             VARCHAR2(4000),
    DELETED_FLAG             NUMBER(18, 0)     NOT NULL,
    CREATION_DATE            TIMESTAMP(6)      NOT NULL,
    CREATED_BY               VARCHAR2(256)     NOT NULL,
    LAST_UPDATE_DATE         TIMESTAMP(6)      NOT NULL,
    LAST_UPDATED_BY          VARCHAR2(256)     NOT NULL,
    LAST_UPDATE_LOGIN        VARCHAR2(128) ,
    OBJECT_VERSION_NUMBER    NUMBER(9, 0)      NOT NULL,
    CONSTRAINT pk_cz_config_messages PRIMARY KEY (MESSAGE_ID, HEADER_ID, REVISION_NUMBER, MESSAGE_ID, HEADER_ID, REVISION_NUMBER)
);
