DROP TABLE IF EXISTS libera_acesso_usuario;

CREATE TABLE `libera_acesso_usuario` (
  `id_libera_acesso_usuario` int(11) NOT NULL AUTO_INCREMENT,
  `tipo_usuario` char(1) NOT NULL COMMENT 'F - Funcionario / U - Usuario',
  `usuario` int(11) NOT NULL,
  `data` date DEFAULT NULL,
  `hora_inicio` time NOT NULL,
  `hora_fim` time NOT NULL,
  `liberado_por` int(11) NOT NULL,
  `data_cadastro_liberacao` date DEFAULT NULL,
  PRIMARY KEY (`id_libera_acesso_usuario`)
) ENGINE=MyISAM AUTO_INCREMENT=7 DEFAULT CHARSET=latin1;

INSERT INTO libera_acesso_usuario VALUES("1","F","53","2020-02-14","18:00:00","21:00:00","999","2020-02-14");
INSERT INTO libera_acesso_usuario VALUES("2","F","1024","2020-02-21","18:30:00","20:00:00","999","2020-02-21");
INSERT INTO libera_acesso_usuario VALUES("3","F","53","2020-02-21","18:30:00","20:00:00","999","2020-02-21");
INSERT INTO libera_acesso_usuario VALUES("4","F","1024","2020-02-28","18:00:00","19:30:00","1","2020-02-28");
INSERT INTO libera_acesso_usuario VALUES("5","F","1022","2020-02-28","18:40:00","19:30:00","1","2020-02-28");
INSERT INTO libera_acesso_usuario VALUES("6","F","5","2020-03-03","18:40:00","19:30:00","1","2020-03-03");


