   INDEX `fk_Rama_has_General_Rama1_idx` (`Rama_id` ASC),
   CONSTRAINT `fk_Rama_has_General_Rama1`
     FOREIGN KEY (`Rama_id`)
-    REFERENCES `mydb`.`Rama` (`id`)
+    REFERENCES `HL`.`Rama` (`id`)
     ON DELETE NO ACTION
     ON UPDATE NO ACTION,
   CONSTRAINT `fk_Rama_has_General_General1`
     FOREIGN KEY (`General_id`)
-    REFERENCES `mydb`.`General` (`id`)
-    ON DELETE NO ACTION
-    ON UPDATE NO ACTION)
-ENGINE = InnoDB;
-
-
--- -----------------------------------------------------
--- Table `mydb`.`costoMuestra`
--- -----------------------------------------------------
-CREATE TABLE IF NOT EXISTS `mydb`.`costoMuestra` (
+    REFERENCES `HL`.`General` (`id`)
+    ON DELETE NO ACTION
+    ON UPDATE NO ACTION)
+ENGINE = InnoDB;
+
+
+-- -----------------------------------------------------
+-- Table `HL`.`costoMuestra`
+-- -----------------------------------------------------
+CREATE TABLE IF NOT EXISTS `HL`.`costoMuestra` (
   `id` INT UNSIGNED NOT NULL AUTO_INCREMENT,
   `Muestras_id` INT UNSIGNED NOT NULL,
   `total` FLOAT NULL,

  INDEX `fk_diaLaborables_referencia1_idx` (`referencia_id` ASC),
  CONSTRAINT `fk_diaLaborables_referencia1`
    FOREIGN KEY (`referencia_id`)
    REFERENCES `mydb`.`referencia` (`id`)
    ON DELETE NO ACTION
    ON UPDATE NO ACTION)
ENGINE = InnoDB;


-- -----------------------------------------------------
-- Table `mydb`.`reporte`
-- -----------------------------------------------------
CREATE TABLE IF NOT EXISTS `mydb`.`reporte` (
  `id` INT NOT NULL,
  `Plantilla_id` TINYINT NOT NULL,
  `General_id` INT UNSIGNED NOT NULL,

  INDEX `fk_Caracterizacion_has_Equipos_Caracterizacion1_idx` (`Caracterizacion_id` ASC),
  CONSTRAINT `fk_Caracterizacion_has_Equipos_Caracterizacion1`
    FOREIGN KEY (`Caracterizacion_id`)
    REFERENCES `HL`.`Caracterizacion` (`id`)
    ON DELETE NO ACTION
    ON UPDATE NO ACTION,
  CONSTRAINT `fk_Caracterizacion_has_Equipos_Equipos1`
    FOREIGN KEY (`Equipos_id`)
    REFERENCES `HL`.`Equipos` (`id`)
    ON DELETE NO ACTION
    ON UPDATE NO ACTION)
ENGINE = InnoDB;


-- -----------------------------------------------------
-- Table `HL`.`costoPredeterminados_has_CostoParametro`
-- -----------------------------------------------------
CREATE TABLE IF NOT EXISTS `HL`.`costoPredeterminados_has_CostoParametro` (
  `costoPredeterminados_id` INT UNSIGNED NOT NULL,
  `CostoParametro_id` SMALLINT UNSIGNED NOT NULL,
  `cantidad` FLOAT NULL,
