Commit a3441ed8 authored by Elias's avatar Elias

Cadastrar Atualizado

parent 512daf1d
......@@ -24,7 +24,7 @@ DROP TABLE IF EXISTS `Atleta`;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `Atleta` (
`idTime` int(11) DEFAULT NULL,
`Matricula` int(11) DEFAULT NULL,
`Matricula` bigint(20) DEFAULT NULL,
KEY `fkatletaidtime_idx` (`idTime`),
KEY `fkatletamatricula_idx` (`Matricula`),
CONSTRAINT `fkatletaidtime` FOREIGN KEY (`idTime`) REFERENCES `Time` (`idTime`) ON DELETE NO ACTION ON UPDATE NO ACTION,
......@@ -50,4 +50,4 @@ UNLOCK TABLES;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
-- Dump completed on 2016-03-21 14:26:27
-- Dump completed on 2016-04-18 15:20:51
......@@ -47,4 +47,4 @@ UNLOCK TABLES;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
-- Dump completed on 2016-03-21 14:26:28
-- Dump completed on 2016-04-18 15:20:51
......@@ -53,4 +53,4 @@ UNLOCK TABLES;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
-- Dump completed on 2016-03-21 14:26:28
-- Dump completed on 2016-04-18 15:20:51
......@@ -49,4 +49,4 @@ UNLOCK TABLES;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
-- Dump completed on 2016-03-21 14:26:27
-- Dump completed on 2016-04-18 15:20:50
......@@ -51,4 +51,4 @@ UNLOCK TABLES;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
-- Dump completed on 2016-03-21 14:26:27
-- Dump completed on 2016-04-18 15:20:50
......@@ -52,4 +52,4 @@ UNLOCK TABLES;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
-- Dump completed on 2016-03-21 14:26:28
-- Dump completed on 2016-04-18 15:20:51
......@@ -49,4 +49,4 @@ UNLOCK TABLES;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
-- Dump completed on 2016-03-21 14:26:27
-- Dump completed on 2016-04-18 15:20:51
......@@ -50,4 +50,4 @@ UNLOCK TABLES;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
-- Dump completed on 2016-03-21 14:26:28
-- Dump completed on 2016-04-18 15:20:51
......@@ -47,4 +47,4 @@ UNLOCK TABLES;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
-- Dump completed on 2016-03-21 14:26:28
-- Dump completed on 2016-04-18 15:20:51
......@@ -50,4 +50,4 @@ UNLOCK TABLES;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
-- Dump completed on 2016-03-21 14:26:27
-- Dump completed on 2016-04-18 15:20:50
......@@ -23,7 +23,7 @@ DROP TABLE IF EXISTS `Usuario`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `Usuario` (
`Matricula` int(11) NOT NULL,
`Matricula` bigint(20) NOT NULL,
`Nome` varchar(45) DEFAULT NULL,
`DataNascimento` date DEFAULT NULL,
`Telefone` varchar(20) DEFAULT NULL,
......@@ -60,4 +60,4 @@ UNLOCK TABLES;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
-- Dump completed on 2016-03-21 14:26:27
-- Dump completed on 2016-04-18 15:20:50
-- MySQL dump 10.13 Distrib 5.6.24, for linux-glibc2.5 (x86_64)
--
-- Host: localhost Database: Olimpiadas
-- ------------------------------------------------------
-- Server version 5.6.27
/*!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 */;
/*!40101 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 `Usuario`
--
DROP TABLE IF EXISTS `Usuario`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `Usuario` (
`Matricula` bigint(20) NOT NULL,
`Nome` varchar(45) DEFAULT NULL,
`DataNascimento` date DEFAULT NULL,
`Telefone` varchar(20) DEFAULT NULL,
`TelefoneResponsavel` varchar(20) DEFAULT NULL,
`idEquipe` int(11) DEFAULT NULL,
`idTipoUsuario` int(11) DEFAULT NULL,
`Senha` varchar(25) NOT NULL,
`Email` varchar(100) DEFAULT NULL,
`DataCad` date NOT NULL,
`HorarioCad` time NOT NULL,
PRIMARY KEY (`Matricula`),
KEY `fkusuarioidequipe_idx` (`idEquipe`),
KEY `fkusuarioidtipousuario_idx` (`idTipoUsuario`),
CONSTRAINT `fkusuarioidequipe` FOREIGN KEY (`idEquipe`) REFERENCES `Equipe` (`idEquipe`) ON DELETE NO ACTION ON UPDATE NO ACTION,
CONSTRAINT `fkusuarioidtipousuario` FOREIGN KEY (`idTipoUsuario`) REFERENCES `TipoUsuario` (`idTipoUsuario`) ON DELETE NO ACTION ON UPDATE NO ACTION
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `Usuario`
--
LOCK TABLES `Usuario` WRITE;
/*!40000 ALTER TABLE `Usuario` DISABLE KEYS */;
INSERT INTO `Usuario` VALUES (99999999995,'Gabriel Silveira','1999-07-15','12345678','34568977',NULL,NULL,'Gabe','GabrielSilveira@hotmail.com','2016-04-18','15:11:29'),(99999999996,'Gabriel Silveira','1999-07-15','12345678','34568977',NULL,NULL,'gabe','GabrielSilveira@hotmail.com','2016-04-18','14:44:04'),(99999999997,'Gabriel Silveira','1999-07-15','12345678','34568977',NULL,NULL,'gabe','GabrielSilveira@hotmail.com','2016-04-18','14:43:10'),(99999999998,'Gabriel Silveira','1999-07-15','12345678','34568977',NULL,NULL,'Gabriel','GabrielSilveira@hotmail.com','2016-04-18','14:32:21'),(99999999999,'Gabriel Silveira','2016-04-15','12345678','34568977',NULL,NULL,'Gabriel','GabrielSilveira@hotmail.com','2016-04-18','14:12:56');
/*!40000 ALTER TABLE `Usuario` 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 2016-04-18 15:20:50
......@@ -24,7 +24,7 @@ DROP TABLE IF EXISTS `Voto`;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `Voto` (
`idModalidadeEnquete` int(11) DEFAULT NULL,
`Matricula` int(11) DEFAULT NULL,
`Matricula` bigint(20) DEFAULT NULL,
KEY `fkvotoidmodalidadeenquete_idx` (`idModalidadeEnquete`),
KEY `fkvotomatricula_idx` (`Matricula`),
CONSTRAINT `fkvotoidmodalidadeenquete` FOREIGN KEY (`idModalidadeEnquete`) REFERENCES `ModalidadeEnquete` (`idModalidadeEnquete`) ON DELETE NO ACTION ON UPDATE NO ACTION,
......@@ -50,4 +50,4 @@ UNLOCK TABLES;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
-- Dump completed on 2016-03-21 14:26:28
-- Dump completed on 2016-04-18 15:20:51
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment