CREATE TABLE ap_ou_group (
    OU_GROUP_ID              NUMBER(18, 0),
    ORG_ID                   NUMBER(18, 0)    NOT NULL,
    TEMPLATE_ID              NUMBER(18, 0),
    CHECKRUN_ID              NUMBER(18, 0),
    CREATION_DATE            TIMESTAMP(6)     NOT NULL,
    CREATED_BY               VARCHAR2(256)    NOT NULL,
    LAST_UPDATE_DATE         TIMESTAMP(6)     NOT NULL,
    LAST_UPDATED_BY          VARCHAR2(256)    NOT NULL,
    LAST_UPDATE_LOGIN        VARCHAR2(128),
    OBJECT_VERSION_NUMBER    NUMBER(9, 0)     NOT NULL,
    OU_GROUP_ID              NUMBER(18, 0),
    ORG_ID                   NUMBER(18, 0)    NOT NULL,
    TEMPLATE_ID              NUMBER(18, 0),
    CHECKRUN_ID              NUMBER(18, 0),
    CREATION_DATE            TIMESTAMP(6)     NOT NULL,
    CREATED_BY               VARCHAR2(256)    NOT NULL,
    LAST_UPDATE_DATE         TIMESTAMP(6)     NOT NULL,
    LAST_UPDATED_BY          VARCHAR2(256)    NOT NULL,
    LAST_UPDATE_LOGIN        VARCHAR2(128),
    OBJECT_VERSION_NUMBER    NUMBER(9, 0)     NOT NULL,
    CONSTRAINT pk_ap_ou_group PRIMARY KEY (OU_GROUP_ID, OU_GROUP_ID)
);
