CREATE TABLE hrr_tmpl_metric_config (
    ENTERPRISE_ID            NUMBER(18, 0),
    RATING_MODEL_ID          NUMBER(18, 0)    NOT NULL,
    USE_AS_AXIS_FLAG         VARCHAR2(120),
    METRIC_ID                NUMBER(18, 0),
    USE_AS_UNDERLAY_FLAG     VARCHAR2(120),
    READ_ONLY_FLAG           VARCHAR2(120),
    DASHBOARD_TMPL_ID        NUMBER(18, 0),
    METRIC_CODE              VARCHAR2(960),
    CONTENT_TYPE_ID          NUMBER(18, 0),
    DASHBOARD_COLUMN_NAME    VARCHAR2(128),
    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),
    SECTION_ID               NUMBER(18, 0),
    ENTERPRISE_ID            NUMBER(18, 0),
    METRIC_ID                NUMBER(18, 0),
    DASHBOARD_TMPL_ID        NUMBER(18, 0),
    METRIC_CODE              VARCHAR2(960),
    CONTENT_TYPE_ID          NUMBER(18, 0),
    DASHBOARD_COLUMN_NAME    VARCHAR2(128),
    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),
    RATING_MODEL_ID          NUMBER(18, 0)    NOT NULL,
    USE_AS_AXIS_FLAG         VARCHAR2(120),
    USE_AS_UNDERLAY_FLAG     VARCHAR2(120),
    READ_ONLY_FLAG           VARCHAR2(120),
    SECTION_ID               NUMBER(18, 0),
    CONSTRAINT pk_hrr_tmpl_metric_config PRIMARY KEY (ENTERPRISE_ID, METRIC_ID, ENTERPRISE_ID, METRIC_ID)
);
