CREATE TABLE gtg_di_job_sync_status (
    ID                   NUMBER(18, 0) ,
    CONNECTOR_ID         NUMBER(18, 0)     NOT NULL,
    RUN_ID               NUMBER(18, 0) ,
    DATASOURCE_ID        NUMBER(18, 0) ,
    JOB_SYNC_TYPE        VARCHAR2(256) ,
    JOB_RUN_TIME         TIMESTAMP(6)  ,
    JOB_RUN_STATUS       VARCHAR2(256) ,
    JOB_RUN_MSG_CODE     VARCHAR2(1024),
    JOB_RUN_DETAILS      VARCHAR2(4000),
    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) ,
    ID                   NUMBER(18, 0) ,
    CONNECTOR_ID         NUMBER(18, 0)     NOT NULL,
    RUN_ID               NUMBER(18, 0) ,
    DATASOURCE_ID        NUMBER(18, 0) ,
    JOB_SYNC_TYPE        VARCHAR2(256) ,
    JOB_RUN_TIME         TIMESTAMP(6)  ,
    JOB_RUN_STATUS       VARCHAR2(256) ,
    JOB_RUN_MSG_CODE     VARCHAR2(1024),
    JOB_RUN_DETAILS      VARCHAR2(4000),
    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) ,
    CONSTRAINT pk_gtg_di_job_sync_status PRIMARY KEY (ID, ID)
);
