 -- MySQL Script generated by MySQL Workbench
--- 06/07/17 09:07:55
+-- 06/07/17 17:11:36
 -- Model: New Model    Version: 1.0
 -- MySQL Workbench Forward Engineering
 

  `id` INT UNSIGNED NOT NULL AUTO_INCREMENT,
  `nome` VARCHAR(30) NOT NULL,
  `preco` DOUBLE UNSIGNED NOT NULL,
  PRIMARY KEY (`id`))
ENGINE = InnoDB;


-- -----------------------------------------------------
CREATE TABLE IF NOT EXISTS `RENDI`.`bombas` (
  `id` INT UNSIGNED NOT NULL AUTO_INCREMENT,
  `nome` VARCHAR(30) NOT NULL,
  `id_tanque` INT UNSIGNED NOT NULL,
  PRIMARY KEY (`id`, `id_tanque`),
  INDEX `fk_bombas_tanques1_idx` (`id_tanque` ASC),
