CREATE TABLE hwm_grp_type (
    GROUP_ROW_ID             NUMBER(18, 0) ,
    GRP_TYPE_ID              NUMBER(18, 0)     NOT NULL,
    PARENT_GRP_ID            NUMBER(18, 0) ,
    GRP_LEVEL                NUMBER            NOT NULL,
    OBJECT_VERSION_NUMBER    NUMBER(9, 0)      NOT NULL,
    ENTERPRISE_ID            NUMBER(18, 0)     NOT NULL,
    MODULE_ID                VARCHAR2(128) ,
    LAYER_ID                 NUMBER(18, 0)     NOT NULL,
    NAME                     VARCHAR2(1020)    NOT NULL,
    DESCRIPTION              VARCHAR2(4000),
    GRP_TYPE                 VARCHAR2(120) ,
    IS_TM_REC                VARCHAR2(120)     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) ,
    SGUID                    VARCHAR2(128) ,
    SEED_DATA_SOURCE         VARCHAR2(2048),
    ORA_SEED_SET1            VARCHAR2(4)       NOT NULL,
    ORA_SEED_SET2            VARCHAR2(4)       NOT NULL,
    GROUP_ROW_ID             NUMBER(18, 0) ,
    GRP_TYPE_ID              NUMBER(18, 0)     NOT NULL,
    PARENT_GRP_ID            NUMBER(18, 0) ,
    GRP_LEVEL                NUMBER            NOT NULL,
    OBJECT_VERSION_NUMBER    NUMBER(9, 0)      NOT NULL,
    ENTERPRISE_ID            NUMBER(18, 0)     NOT NULL,
    MODULE_ID                VARCHAR2(128) ,
    LAYER_ID                 NUMBER(18, 0)     NOT NULL,
    NAME                     VARCHAR2(1020)    NOT NULL,
    DESCRIPTION              VARCHAR2(4000),
    GRP_TYPE                 VARCHAR2(120) ,
    IS_TM_REC                VARCHAR2(120)     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) ,
    SGUID                    VARCHAR2(128) ,
    SEED_DATA_SOURCE         VARCHAR2(2048),
    ORA_SEED_SET1            VARCHAR2(4)       NOT NULL,
    ORA_SEED_SET2            VARCHAR2(4)       NOT NULL,
    CONSTRAINT pk_hwm_grp_type PRIMARY KEY (GROUP_ROW_ID, GROUP_ROW_ID)
);
