CREATE TABLE hex_upgrade_schedules (
    SCHEDULE_ID              NUMBER(18, 0) ,
    ACTIVE_STATUS            VARCHAR2(120) ,
    BASE_SCHEDULE_NAME       VARCHAR2(120) ,
    PROCESS_CODE             VARCHAR2(1600),
    START_RELEASE            VARCHAR2(120) ,
    END_RELEASE              VARCHAR2(120) ,
    FREQUENCY                VARCHAR2(120) ,
    START_DATE               DATE          ,
    END_DATE                 DATE          ,
    PROCESS_PARAMETERS       VARCHAR2(4000),
    RETRIES                  NUMBER(18, 0) ,
    PROCESS_CONFIG_GROUP     VARCHAR2(400) ,
    MODULE_ID                VARCHAR2(128) ,
    ENTERPRISE_ID            NUMBER(18, 0)     NOT NULL,
    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) ,
    SGUID                    VARCHAR2(128) ,
    SEED_DATA_SOURCE         VARCHAR2(2048),
    ORA_SEED_SET1            VARCHAR2(4)       NOT NULL,
    ORA_SEED_SET2            VARCHAR2(4)       NOT NULL,
    SCHEDULE_ID              NUMBER(18, 0) ,
    ACTIVE_STATUS            VARCHAR2(120) ,
    BASE_SCHEDULE_NAME       VARCHAR2(120) ,
    PROCESS_CODE             VARCHAR2(1600),
    START_RELEASE            VARCHAR2(120) ,
    END_RELEASE              VARCHAR2(120) ,
    FREQUENCY                VARCHAR2(120) ,
    START_DATE               DATE          ,
    END_DATE                 DATE          ,
    PROCESS_PARAMETERS       VARCHAR2(4000),
    RETRIES                  NUMBER(18, 0) ,
    PROCESS_CONFIG_GROUP     VARCHAR2(400) ,
    MODULE_ID                VARCHAR2(128) ,
    ENTERPRISE_ID            NUMBER(18, 0)     NOT NULL,
    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) ,
    SGUID                    VARCHAR2(128) ,
    SEED_DATA_SOURCE         VARCHAR2(2048),
    ORA_SEED_SET1            VARCHAR2(4)       NOT NULL,
    ORA_SEED_SET2            VARCHAR2(4)       NOT NULL,
    CONSTRAINT pk_hex_upgrade_schedules PRIMARY KEY (SCHEDULE_ID, SCHEDULE_ID)
);
