CREATE TABLE irc_li_contracts (
    CONTRACT_ID                   NUMBER(18, 0) ,
    LI_CONTRACT_ID                VARCHAR2(400)     NOT NULL,
    LI_CONTRACT_NAME              VARCHAR2(2000),
    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) ,
    LAST_NOTE_SYNC_DATE           TIMESTAMP(6)  ,
    LAST_INMAIL_SYNC_DATE         TIMESTAMP(6)  ,
    LAST_INMAIL_PROF_SYNC_DATE    TIMESTAMP(6)  ,
    CONTRACT_ID                   NUMBER(18, 0) ,
    LI_CONTRACT_ID                VARCHAR2(400)     NOT NULL,
    LI_CONTRACT_NAME              VARCHAR2(2000),
    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) ,
    LAST_NOTE_SYNC_DATE           TIMESTAMP(6)  ,
    LAST_INMAIL_SYNC_DATE         TIMESTAMP(6)  ,
    LAST_INMAIL_PROF_SYNC_DATE    TIMESTAMP(6)  ,
    CONSTRAINT pk_irc_li_contracts PRIMARY KEY (CONTRACT_ID, CONTRACT_ID)
);
