--
CREATE TABLE `senhas` (
`id` int(11) NOT NULL,
`idEntidadeServico` int(11) NOT NULL,
`prioridade` tinyint(1) NOT NULL,
`data` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Indexes for dumped tables
--
--
-- Indexes for table `senhas`
--
ALTER TABLE `senhas`
ADD PRIMARY KEY (`id`),
ADD KEY `idEntidadeServico` (`idEntidadeServico`);
--
-- AUTO_INCREMENT for dumped tables
--
--
-- AUTO_INCREMENT for table `senhas`
--
ALTER TABLE `senhas`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;
COMMIT;
Sem comentários:
Enviar um comentário