CREATE TABLE eec_contest_updates (
    UPDATE_LINE_ID           NUMBER(18, 0) ,
    CONTEST_ID               NUMBER        ,
    PARTICIPANT_LINE_ID      NUMBER        ,
    TEAM_ID                  NUMBER        ,
    PERSON_ID                NUMBER        ,
    METRIC_ID                NUMBER(18, 0) ,
    METRIC_WEIGHT            NUMBER(5, 2)  ,
    METRIC_SCORE             NUMBER(18, 2) ,
    ATTACHMENT               BLOB          ,
    UPDATE_DATE              TIMESTAMP(6)      NOT NULL,
    LAST_UPDATE_DATE         TIMESTAMP(6)      NOT NULL,
    LAST_UPDATED_BY          VARCHAR2(256)     NOT NULL,
    CREATION_DATE            TIMESTAMP(6)      NOT NULL,
    CREATED_BY               VARCHAR2(256)     NOT NULL,
    LAST_UPDATE_LOGIN        VARCHAR2(128) ,
    OBJECT_VERSION_NUMBER    NUMBER(9, 0)      NOT NULL,
    STATUS                   VARCHAR2(120) ,
    UPDATE_COMMENTS          VARCHAR2(4000),
    UPDATE_LINE_ID           NUMBER(18, 0) ,
    CONTEST_ID               NUMBER        ,
    PARTICIPANT_LINE_ID      NUMBER        ,
    TEAM_ID                  NUMBER        ,
    PERSON_ID                NUMBER        ,
    METRIC_ID                NUMBER(18, 0) ,
    METRIC_WEIGHT            NUMBER(5, 2)  ,
    METRIC_SCORE             NUMBER(18, 2) ,
    ATTACHMENT               BLOB          ,
    UPDATE_DATE              TIMESTAMP(6)      NOT NULL,
    LAST_UPDATE_DATE         TIMESTAMP(6)      NOT NULL,
    LAST_UPDATED_BY          VARCHAR2(256)     NOT NULL,
    CREATION_DATE            TIMESTAMP(6)      NOT NULL,
    CREATED_BY               VARCHAR2(256)     NOT NULL,
    LAST_UPDATE_LOGIN        VARCHAR2(128) ,
    OBJECT_VERSION_NUMBER    NUMBER(9, 0)      NOT NULL,
    STATUS                   VARCHAR2(120) ,
    UPDATE_COMMENTS          VARCHAR2(4000),
    CONSTRAINT pk_eec_contest_updates PRIMARY KEY (UPDATE_LINE_ID, UPDATE_LINE_ID)
);
