CREATE TABLE anc_availability_type_privs (
    AVAILABILITY_TYPE_PRIVS_ID    NUMBER(18, 0),
    ENTERPRISE_ID                 NUMBER(18, 0)    NOT NULL,
    AVAILABILITY_TYPE_ID          NUMBER(18, 0)    NOT NULL,
    ROLE_ID                       NUMBER(18, 0)    NOT NULL,
    ROLE_ACCESS_LEVEL             VARCHAR2(120),
    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),
    AVAILABILITY_TYPE_PRIVS_ID    NUMBER(18, 0),
    ENTERPRISE_ID                 NUMBER(18, 0)    NOT NULL,
    AVAILABILITY_TYPE_ID          NUMBER(18, 0)    NOT NULL,
    ROLE_ID                       NUMBER(18, 0)    NOT NULL,
    ROLE_ACCESS_LEVEL             VARCHAR2(120),
    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_anc_availability_type_privs PRIMARY KEY (AVAILABILITY_TYPE_PRIVS_ID, AVAILABILITY_TYPE_PRIVS_ID)
);
