CREATE TABLE inv_spoke_pub_date_history (
    SPOKE_SYSTEM_ID                   NUMBER(18, 0) ,
    OBJECT_TYPE                       VARCHAR2(400) ,
    LAST_SUCCESSFUL_PUBLICATION_DT    TIMESTAMP(6)  ,
    PUBLICATION_DATE                  TIMESTAMP(6)  ,
    PUBLICATION_STATUS                VARCHAR2(120) ,
    PUBLICATION_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) ,
    REQUEST_ID                        NUMBER(18, 0) ,
    JOB_DEFINITION_NAME               VARCHAR2(400) ,
    JOB_DEFINITION_PACKAGE            VARCHAR2(3600),
    ERROR_CODE                        VARCHAR2(120) ,
    ERROR_EXPLANATION                 VARCHAR2(960) ,
    SPOKE_SYSTEM_ID                   NUMBER(18, 0) ,
    OBJECT_TYPE                       VARCHAR2(400) ,
    LAST_SUCCESSFUL_PUBLICATION_DT    TIMESTAMP(6)  ,
    PUBLICATION_DATE                  TIMESTAMP(6)  ,
    PUBLICATION_STATUS                VARCHAR2(120) ,
    PUBLICATION_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) ,
    REQUEST_ID                        NUMBER(18, 0) ,
    JOB_DEFINITION_NAME               VARCHAR2(400) ,
    JOB_DEFINITION_PACKAGE            VARCHAR2(3600),
    ERROR_CODE                        VARCHAR2(120) ,
    ERROR_EXPLANATION                 VARCHAR2(960) ,
    CONSTRAINT pk_inv_spoke_pub_date_history PRIMARY KEY (SPOKE_SYSTEM_ID, OBJECT_TYPE, SPOKE_SYSTEM_ID, OBJECT_TYPE)
);
