CREATE TABLE cmk_doc_properties (
    DOC_PROPERTY_ID          NUMBER(18, 0) ,
    PROPERTY_CODE            VARCHAR2(400)     NOT NULL,
    PROPERTY_TYPE            VARCHAR2(2048),
    VALUE                    VARCHAR2(2048),
    REQUIRED_FLAG            VARCHAR2(4)       NOT NULL,
    DOCUMENT_ID              NUMBER(18, 0)     NOT NULL,
    GROUP_CODE               VARCHAR2(400)     NOT NULL,
    DATA_TYPE                VARCHAR2(400)     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) ,
    OBJECT_VERSION_NUMBER    NUMBER(9, 0)      NOT NULL,
    MODULE_ID                VARCHAR2(128) ,
    ORA_SEED_SET1            VARCHAR2(4)       NOT NULL,
    ORA_SEED_SET2            VARCHAR2(4)       NOT NULL,
    SEED_DATA_SOURCE         VARCHAR2(2048),
    DOC_PROPERTY_ID          NUMBER(18, 0) ,
    PROPERTY_CODE            VARCHAR2(400)     NOT NULL,
    VALUE                    VARCHAR2(2048),
    REQUIRED_FLAG            VARCHAR2(4)       NOT NULL,
    DOCUMENT_ID              NUMBER(18, 0)     NOT NULL,
    GROUP_CODE               VARCHAR2(400)     NOT NULL,
    DATA_TYPE                VARCHAR2(400)     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) ,
    OBJECT_VERSION_NUMBER    NUMBER(9, 0)      NOT NULL,
    MODULE_ID                VARCHAR2(128) ,
    ORA_SEED_SET1            VARCHAR2(4)       NOT NULL,
    ORA_SEED_SET2            VARCHAR2(4)       NOT NULL,
    SEED_DATA_SOURCE         VARCHAR2(2048),
    PROPERTY_TYPE            VARCHAR2(2048),
    CONSTRAINT pk_cmk_doc_properties PRIMARY KEY (DOC_PROPERTY_ID, DOC_PROPERTY_ID)
);
