 --
 ALTER TABLE `sillas`
 MODIFY `idSilla` int(11) NOT NULL AUTO_INCREMENT;
+--
+-- AUTO_INCREMENT de la tabla `ticket`
+--
+ALTER TABLE `ticket`
+MODIFY `idTicket` int(11) NOT NULL AUTO_INCREMENT,AUTO_INCREMENT=44;
 /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
 /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
 /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;


CREATE TABLE IF NOT EXISTS `reserva` (
`idReserva` int(11) NOT NULL,
  `fecha` varchar(45) NOT NULL,
  `idPelicula` int(11) NOT NULL,
  `cedula_usuario` int(11) NOT NULL,
  `cedula_operario` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

-- --------------------------------------------------------


--

CREATE TABLE IF NOT EXISTS `ticket` (
`idTicket` int(11) NOT NULL,
  `idReserva` int(11) NOT NULL,
  `precio` double NOT NULL DEFAULT '10000'
) ENGINE=InnoDB AUTO_INCREMENT=44 DEFAULT CHARSET=utf8;

--
-- Volcado de datos para la tabla `ticket`
--

INSERT INTO `ticket` (`idTicket`, `idReserva`, `precio`) VALUES
(1, 3, 10000),
(2, 3, 10000),
(3, 3, 10000),
(4, 3, 10000),
(5, 3, 10000),
(30, 4, 10000),
(31, 4, 10000),
(32, 4, 10000),
(33, 4, 10000),
(34, 4, 10000),
(35, 4, 10000),
(36, 4, 10000),
(37, 4, 10000),
(38, 5, 10000),
(39, 5, 10000),
(40, 5, 10000),
(41, 5, 10000),
(42, 5, 10000),
(43, 5, 10000);

-- --------------------------------------------------------

