CREATE TABLE hwm_tm_act_alloc_day_statuses (
    TM_ACT_ALLOC_DAY_STATUS_ID    NUMBER(18, 0),
    RESOURCE_ID                   NUMBER(18, 0)    NOT NULL,
    STATUS_DATE                   DATE             NOT NULL,
    STATUS                        VARCHAR2(120)    NOT NULL,
    HOURS_TO_ALLOCATE             NUMBER       ,
    HOURS_ALLOCATED               NUMBER       ,
    REFRESH_CODE                  NUMBER(9, 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),
    TM_ACT_ALLOC_DAY_STATUS_ID    NUMBER(18, 0),
    RESOURCE_ID                   NUMBER(18, 0)    NOT NULL,
    STATUS_DATE                   DATE             NOT NULL,
    STATUS                        VARCHAR2(120)    NOT NULL,
    HOURS_TO_ALLOCATE             NUMBER       ,
    HOURS_ALLOCATED               NUMBER       ,
    REFRESH_CODE                  NUMBER(9, 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),
    CONSTRAINT pk_hwm_tm_act_alloc_day_statuses PRIMARY KEY (TM_ACT_ALLOC_DAY_STATUS_ID, TM_ACT_ALLOC_DAY_STATUS_ID)
);
