`id` int(11) NOT NULL,
`entidade` varchar(100) NOT NULL,
`estado` tinyint(1) NOT NULL DEFAULT '1',
`dataReg` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Extraindo dados da tabela `entidades`
--
INSERT INTO `entidades` (`id`, `entidade`, `estado`, `dataReg`) VALUES
(1, 'NOS', 1, '2020-01-06 20:18:25'),
(2, 'VODAFONE', 1, '2020-01-06 20:18:25'),
(3, 'GALP', 1, '2020-01-06 20:18:38'),
(4, 'WORTEN', 0, '2020-01-06 20:18:38');
-- --------------------------------------------------------
--
-- Estrutura da tabela `servicos`
--
CREATE TABLE `servicos` (
`id` int(11) NOT NULL,
`servico` varchar(100) NOT NULL,
`estado` tinyint(1) NOT NULL DEFAULT '1',
`dataReg` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Extraindo dados da tabela `servicos`
--
INSERT INTO `servicos` (`id`, `servico`, `estado`, `dataReg`) VALUES
(1, 'Informações', 1, '2020-01-06 20:23:17'),
(2, 'Pagamentos', 1, '2020-01-06 20:23:17'),
(3, 'Contratos', 1, '2020-01-06 20:23:33'),
(4, 'Entregas', 0, '2020-01-06 20:23:33');
--
-- Indexes for dumped tables
--
--
-- Indexes for table `entidades`
--
ALTER TABLE `entidades`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `servicos`
--
ALTER TABLE `servicos`
ADD PRIMARY KEY (`id`);
--
-- AUTO_INCREMENT for dumped tables
--
--
-- AUTO_INCREMENT for table `entidades`
--
ALTER TABLE `entidades`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5;
--
-- AUTO_INCREMENT for table `servicos`
--
ALTER TABLE `servicos`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5;
COMMIT;
Sem comentários:
Enviar um comentário