CREATE TABLE ad_mts_pending_changes (
    TABNAME                VARCHAR2(256),
    WORKER_ID              NUMBER       ,
    ENTERPRISE_COLNAME     VARCHAR2(256)    NOT NULL,
    IS_EFFECTIVE_DATED     VARCHAR2(4)      NOT NULL,
    TIMESTAMP              TIMESTAMP(6)     NOT NULL,
    LAST_PROCESSED_EID     NUMBER(18, 0),
    STATUS                 VARCHAR2(16)     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),
    ORA_EDITION_CONTEXT    VARCHAR2(120),
    TABNAME                VARCHAR2(256),
    WORKER_ID              NUMBER       ,
    ENTERPRISE_COLNAME     VARCHAR2(256)    NOT NULL,
    IS_EFFECTIVE_DATED     VARCHAR2(4)      NOT NULL,
    TIMESTAMP              TIMESTAMP(6)     NOT NULL,
    LAST_PROCESSED_EID     NUMBER(18, 0),
    STATUS                 VARCHAR2(16)     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),
    ORA_EDITION_CONTEXT    VARCHAR2(120),
    CONSTRAINT pk_ad_mts_pending_changes PRIMARY KEY (TABNAME, ORA_EDITION_CONTEXT, TABNAME, ORA_EDITION_CONTEXT)
);
