   INDEX `fk_costoPredeterminados_has_CostoParametro_costoPredetermin_idx` (`costoPredeterminados_id` ASC),
   CONSTRAINT `fk_costoPredeterminados_has_CostoParametro_costoPredeterminad1`
     FOREIGN KEY (`costoPredeterminados_id`)
-    REFERENCES `mydb`.`costoPredeterminados` (`id`)
+    REFERENCES `HL`.`costoPredeterminados` (`id`)
     ON DELETE NO ACTION
     ON UPDATE NO ACTION,
   CONSTRAINT `fk_costoPredeterminados_has_CostoParametro_CostoParametro1`
     FOREIGN KEY (`CostoParametro_id`)
-    REFERENCES `mydb`.`CostoParametro` (`id`)
-    ON DELETE NO ACTION
-    ON UPDATE NO ACTION)
-ENGINE = InnoDB;
-
-
--- -----------------------------------------------------
--- Table `mydb`.`costoPredeterminados_has_costoMuestra`
--- -----------------------------------------------------
-CREATE TABLE IF NOT EXISTS `mydb`.`costoPredeterminados_has_costoMuestra` (
+    REFERENCES `HL`.`CostoParametro` (`id`)
+    ON DELETE NO ACTION
+    ON UPDATE NO ACTION)
+ENGINE = InnoDB;
+
+
+-- -----------------------------------------------------
+-- Table `HL`.`costoPredeterminados_has_costoMuestra`
+-- -----------------------------------------------------
+CREATE TABLE IF NOT EXISTS `HL`.`costoPredeterminados_has_costoMuestra` (
   `costoPredeterminados_id` INT UNSIGNED NOT NULL,
   `costoMuestra_id` INT UNSIGNED NOT NULL,
   `cantidad` FLOAT NULL,

  INDEX `fk_ordenCompra_peticion1_idx` (`peticion_id` ASC),
  CONSTRAINT `fk_ordenCompra_peticion1`
    FOREIGN KEY (`peticion_id`)
    REFERENCES `mydb`.`peticion` (`id`)
    ON DELETE NO ACTION
    ON UPDATE NO ACTION)
ENGINE = InnoDB;


-- -----------------------------------------------------
-- Table `mydb`.`Caracterizacion_has_Equipos`
-- -----------------------------------------------------
CREATE TABLE IF NOT EXISTS `mydb`.`Caracterizacion_has_Equipos` (
  `Caracterizacion_id` SMALLINT UNSIGNED NOT NULL,
  `Equipos_id` SMALLINT UNSIGNED NOT NULL,
  PRIMARY KEY (`Caracterizacion_id`, `Equipos_id`),

  INDEX `fk_Caracterizacion_has_Departamento_Caracterizacion1_idx` (`Caracterizacion_id` ASC),
  CONSTRAINT `fk_Caracterizacion_has_Departamento_Caracterizacion1`
    FOREIGN KEY (`Caracterizacion_id`)
    REFERENCES `HL`.`Caracterizacion` (`id`)
    ON DELETE NO ACTION
    ON UPDATE NO ACTION,
  CONSTRAINT `fk_Caracterizacion_has_Departamento_Departamento1`
    FOREIGN KEY (`Departamento_id`)
    REFERENCES `HL`.`Departamento` (`id`)
    ON DELETE NO ACTION
    ON UPDATE NO ACTION)
ENGINE = InnoDB;


-- -----------------------------------------------------
-- Table `HL`.`Rama_has_Caracterizacion`
-- -----------------------------------------------------
CREATE TABLE IF NOT EXISTS `HL`.`Rama_has_Caracterizacion` (
  `Rama_id` INT UNSIGNED NOT NULL,
  `Caracterizacion_id` SMALLINT UNSIGNED NOT NULL,
  PRIMARY KEY (`Rama_id`, `Caracterizacion_id`),
