-- MySQL dump 10.13 Distrib 8.0.20, for Win64 (x86_64) -- -- Host: 18.228.31.8 Database: zendioninc -- ------------------------------------------------------ -- Server version 8.0.22-0ubuntu0.20.04.2 /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; /*!50503 SET NAMES utf8 */; /*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */; /*!40103 SET TIME_ZONE='+00:00' */; /*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */; /*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */; /*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */; /*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */; -- -- Table structure for table `chaves` -- DROP TABLE IF EXISTS `chaves`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `chaves` ( `idchaves` int NOT NULL AUTO_INCREMENT, `licenca` varchar(150) DEFAULT NULL, `data_criacao` datetime DEFAULT NULL, `data_validade` datetime DEFAULT NULL, `idusuarios` int DEFAULT NULL, `usada` tinyint DEFAULT NULL, `idsistemas` int DEFAULT NULL, `insert_date` datetime DEFAULT CURRENT_TIMESTAMP, `update_date` datetime DEFAULT NULL ON UPDATE CURRENT_TIMESTAMP, PRIMARY KEY (`idchaves`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `chaves` -- LOCK TABLES `chaves` WRITE; /*!40000 ALTER TABLE `chaves` DISABLE KEYS */; /*!40000 ALTER TABLE `chaves` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `noticias` -- DROP TABLE IF EXISTS `noticias`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `noticias` ( `idnoticias` int NOT NULL AUTO_INCREMENT, `titulo` varchar(150) DEFAULT NULL, `descricao` longtext, `habilitado` tinyint DEFAULT NULL, `link` varchar(200) DEFAULT NULL, `insert_date` datetime DEFAULT CURRENT_TIMESTAMP, `update_date` datetime DEFAULT NULL ON UPDATE CURRENT_TIMESTAMP, PRIMARY KEY (`idnoticias`) ) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `noticias` -- LOCK TABLES `noticias` WRITE; /*!40000 ALTER TABLE `noticias` DISABLE KEYS */; INSERT INTO `noticias` VALUES (1,'Teste noticia 1','Aqui entra o texto da noticia de teste 1',1,'https://www.google.com.br/','2021-03-05 23:23:01','2021-03-05 23:23:16'); /*!40000 ALTER TABLE `noticias` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `plataformas` -- DROP TABLE IF EXISTS `plataformas`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `plataformas` ( `idplataformas` int NOT NULL AUTO_INCREMENT, `descricao` varchar(150) DEFAULT NULL, `habilitado` tinyint DEFAULT NULL, `insert_date` datetime DEFAULT CURRENT_TIMESTAMP, `update_date` datetime DEFAULT NULL ON UPDATE CURRENT_TIMESTAMP, PRIMARY KEY (`idplataformas`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `plataformas` -- LOCK TABLES `plataformas` WRITE; /*!40000 ALTER TABLE `plataformas` DISABLE KEYS */; /*!40000 ALTER TABLE `plataformas` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `sistemas` -- DROP TABLE IF EXISTS `sistemas`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `sistemas` ( `idsistemas` int NOT NULL AUTO_INCREMENT, `nome` varchar(150) DEFAULT NULL, `descricao` varchar(150) DEFAULT NULL, `versaoatual` varchar(45) DEFAULT NULL, `habilitado` tinyint DEFAULT NULL, `idtiposdesistema` int DEFAULT NULL, `idplataformas` int DEFAULT NULL, `nome_install` varchar(150) DEFAULT NULL, `notasdeatualizacao` longtext, `idtiposlicenca` int DEFAULT NULL, `insert_date` datetime DEFAULT CURRENT_TIMESTAMP, `update_date` datetime DEFAULT NULL ON UPDATE CURRENT_TIMESTAMP, PRIMARY KEY (`idsistemas`) ) ENGINE=InnoDB AUTO_INCREMENT=10 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `sistemas` -- LOCK TABLES `sistemas` WRITE; /*!40000 ALTER TABLE `sistemas` DISABLE KEYS */; INSERT INTO `sistemas` VALUES (9,'FMovel','Sistema de gestão de concecionaria','1.0.0.1',1,1,1,'fmovel_install.exe','Primeira versão',1,'2021-02-25 23:10:06','2021-03-04 00:30:07'); /*!40000 ALTER TABLE `sistemas` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `sistemasdetalhes` -- DROP TABLE IF EXISTS `sistemasdetalhes`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `sistemasdetalhes` ( `idsistemasdetalhes` int NOT NULL AUTO_INCREMENT, `idsistemas` int DEFAULT NULL, `descricao` varchar(250) DEFAULT NULL, `habilitado` tinyint DEFAULT NULL, `insert_date` datetime DEFAULT CURRENT_TIMESTAMP, `update_date` datetime DEFAULT NULL ON UPDATE CURRENT_TIMESTAMP, PRIMARY KEY (`idsistemasdetalhes`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `sistemasdetalhes` -- LOCK TABLES `sistemasdetalhes` WRITE; /*!40000 ALTER TABLE `sistemasdetalhes` DISABLE KEYS */; /*!40000 ALTER TABLE `sistemasdetalhes` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `sistemasusuario` -- DROP TABLE IF EXISTS `sistemasusuario`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `sistemasusuario` ( `idsistemasusuario` int NOT NULL AUTO_INCREMENT, `idsistemas` int DEFAULT NULL, `idusuarios` int DEFAULT NULL, `data_download` datetime DEFAULT NULL, `insert_date` datetime DEFAULT CURRENT_TIMESTAMP, `update_date` datetime DEFAULT NULL ON UPDATE CURRENT_TIMESTAMP, PRIMARY KEY (`idsistemasusuario`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `sistemasusuario` -- LOCK TABLES `sistemasusuario` WRITE; /*!40000 ALTER TABLE `sistemasusuario` DISABLE KEYS */; /*!40000 ALTER TABLE `sistemasusuario` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `slides` -- DROP TABLE IF EXISTS `slides`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `slides` ( `idslides` int NOT NULL AUTO_INCREMENT, `descricao` varchar(150) DEFAULT NULL, `habilitado` tinyint DEFAULT NULL, `link` varchar(250) DEFAULT NULL, `insert_date` datetime DEFAULT CURRENT_TIMESTAMP, `update_date` datetime DEFAULT NULL ON UPDATE CURRENT_TIMESTAMP, PRIMARY KEY (`idslides`) ) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `slides` -- LOCK TABLES `slides` WRITE; /*!40000 ALTER TABLE `slides` DISABLE KEYS */; INSERT INTO `slides` VALUES (1,'TI',1,'undefined','2021-03-05 23:21:52','2021-03-05 23:22:04'),(2,'Inovacao',1,'undefined','2021-03-05 23:22:25','2021-03-05 23:22:30'); /*!40000 ALTER TABLE `slides` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `tiposdesistema` -- DROP TABLE IF EXISTS `tiposdesistema`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `tiposdesistema` ( `idtiposdesistema` int NOT NULL AUTO_INCREMENT, `descricao` varchar(150) DEFAULT NULL, `habilitado` tinyint DEFAULT NULL, `insert_date` datetime DEFAULT CURRENT_TIMESTAMP, `update_date` datetime DEFAULT NULL ON UPDATE CURRENT_TIMESTAMP, PRIMARY KEY (`idtiposdesistema`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `tiposdesistema` -- LOCK TABLES `tiposdesistema` WRITE; /*!40000 ALTER TABLE `tiposdesistema` DISABLE KEYS */; /*!40000 ALTER TABLE `tiposdesistema` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `tiposdeusuario` -- DROP TABLE IF EXISTS `tiposdeusuario`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `tiposdeusuario` ( `idtiposdeusuario` int NOT NULL AUTO_INCREMENT, `descricao` varchar(45) DEFAULT NULL, `habilitado` tinyint DEFAULT NULL, `insert_date` datetime DEFAULT CURRENT_TIMESTAMP, `update_date` datetime DEFAULT NULL ON UPDATE CURRENT_TIMESTAMP, PRIMARY KEY (`idtiposdeusuario`) ) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `tiposdeusuario` -- LOCK TABLES `tiposdeusuario` WRITE; /*!40000 ALTER TABLE `tiposdeusuario` DISABLE KEYS */; INSERT INTO `tiposdeusuario` VALUES (1,'Administrador',1,'2021-03-05 23:20:05',NULL),(2,'Cliente',1,'2021-03-05 23:20:05',NULL); /*!40000 ALTER TABLE `tiposdeusuario` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `tiposlicenca` -- DROP TABLE IF EXISTS `tiposlicenca`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `tiposlicenca` ( `idtiposlicenca` int NOT NULL AUTO_INCREMENT, `descricao` varchar(150) DEFAULT NULL, `habilitado` tinyint DEFAULT NULL, `insert_date` datetime DEFAULT CURRENT_TIMESTAMP, `update_date` datetime DEFAULT NULL ON UPDATE CURRENT_TIMESTAMP, PRIMARY KEY (`idtiposlicenca`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `tiposlicenca` -- LOCK TABLES `tiposlicenca` WRITE; /*!40000 ALTER TABLE `tiposlicenca` DISABLE KEYS */; /*!40000 ALTER TABLE `tiposlicenca` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `trocasenha` -- DROP TABLE IF EXISTS `trocasenha`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `trocasenha` ( `idtrocasenha` int NOT NULL AUTO_INCREMENT, `idusuarios` int DEFAULT NULL, `tag` varchar(250) DEFAULT NULL, `usada` tinyint DEFAULT NULL, `insert_date` datetime DEFAULT CURRENT_TIMESTAMP, `update_date` datetime DEFAULT NULL ON UPDATE CURRENT_TIMESTAMP, PRIMARY KEY (`idtrocasenha`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `trocasenha` -- LOCK TABLES `trocasenha` WRITE; /*!40000 ALTER TABLE `trocasenha` DISABLE KEYS */; /*!40000 ALTER TABLE `trocasenha` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `usuarios` -- DROP TABLE IF EXISTS `usuarios`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `usuarios` ( `idusuarios` int NOT NULL AUTO_INCREMENT, `nome` varchar(150) DEFAULT NULL, `usuario` varchar(45) DEFAULT NULL, `senha` varchar(45) DEFAULT NULL, `data_cadastro` datetime DEFAULT NULL, `email` varchar(45) DEFAULT NULL, `idtiposdeusuario` int DEFAULT NULL, `cpf` varchar(45) DEFAULT NULL, `habilitado` tinyint DEFAULT NULL, `insert_date` datetime DEFAULT CURRENT_TIMESTAMP, `update_date` datetime DEFAULT NULL ON UPDATE CURRENT_TIMESTAMP, PRIMARY KEY (`idusuarios`) ) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `usuarios` -- LOCK TABLES `usuarios` WRITE; /*!40000 ALTER TABLE `usuarios` DISABLE KEYS */; INSERT INTO `usuarios` VALUES (1,'Diego Freitas','ZENDION','Z210203!','2021-03-05 23:15:50','zendionmazinni@gmail.com',1,'425.855.768-41',1,'2021-03-05 23:15:50','2021-03-05 23:18:42'); /*!40000 ALTER TABLE `usuarios` ENABLE KEYS */; UNLOCK TABLES; /*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */; /*!40101 SET SQL_MODE=@OLD_SQL_MODE */; /*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */; /*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */; /*!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 */; /*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */; -- Dump completed on 2021-03-05 20:27:35