 
 COMMIT;
 
+
+-- -----------------------------------------------------
+-- Data for table `hospital`.`RFID_log_usuarios`
+-- -----------------------------------------------------
+START TRANSACTION;
+USE `hospital`;
+INSERT INTO `hospital`.`RFID_log_usuarios` (`ID`, `area`, `hora_salida`, `hora_entrada`, `timestamp`, `Usuario_ID`) VALUES (1, 'INCUBADORA', '29-10-2016 01:14:00', '29-10-2016 19:51:00', '29-10-2016 00:51:00', 1);
+
+COMMIT;
+
+
+-- -----------------------------------------------------
+-- Data for table `hospital`.`RFID_log_madre_neonato`
+-- -----------------------------------------------------
+START TRANSACTION;
+USE `hospital`;
+INSERT INTO `hospital`.`RFID_log_madre_neonato` (`ID`, `hora_entrada`, `hora_salida`, `timestamp`, `area`, `RFID_madre_neonato_id`, `RFID_madre_neonato_valor`) VALUES (1, '29-10-2016 1:51:00', '29-10-2016 19:51:00', '29-10-2016 19:51:00', 'INCUBADORA', 1, 'abc');
+
+COMMIT;
+

-- MySQL Script generated by MySQL Workbench
-- 10/29/16 00:44:43
-- Model: New Model    Version: 1.0
-- MySQL Workbench Forward Engineering




-- -----------------------------------------------------
-- Table `hospital`.`RFID_log_usuarios`
-- -----------------------------------------------------
DROP TABLE IF EXISTS `hospital`.`RFID_log_usuarios` ;

CREATE TABLE IF NOT EXISTS `hospital`.`RFID_log_usuarios` (
  `ID` INT NOT NULL AUTO_INCREMENT,
  `area` VARCHAR(255) NOT NULL,
  `hora_salida` TIMESTAMP NULL,
  `hora_entrada` TIMESTAMP NULL,
  `timestamp` TIMESTAMP NULL,
  `Usuario_ID` INT NOT NULL,
  PRIMARY KEY (`ID`, `Usuario_ID`),
  INDEX `fk_RFID_log_usuarios_Usuario1_idx` (`Usuario_ID` ASC),
  CONSTRAINT `fk_RFID_log_usuarios_Usuario1`
    FOREIGN KEY (`Usuario_ID`)
    REFERENCES `hospital`.`Usuario` (`ID`)
    ON DELETE NO ACTION
