Ouverture des Correspondances

This commit is contained in:
Yohann 2019-10-22 15:12:02 +02:00
parent 5c88ccb91a
commit 5877a734b3
2 changed files with 11 additions and 11 deletions

View File

@ -3,7 +3,7 @@
-- https://www.phpmyadmin.net/
--
-- Hôte : db
-- Généré le : lun. 23 sep. 2019 à 22:14
-- Généré le : mar. 22 oct. 2019 à 13:10
-- Version du serveur : 5.7.20
-- Version de PHP : 7.1.9
@ -21,8 +21,6 @@ SET time_zone = "+00:00";
--
-- Base de données : `inscription_corres2math`
--
CREATE DATABASE IF NOT EXISTS `inscription_corres2math` DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci;
USE `inscription_corres2math`;
-- --------------------------------------------------------
@ -32,7 +30,7 @@ USE `inscription_corres2math`;
CREATE TABLE IF NOT EXISTS `config` (
`key` varchar(64) NOT NULL,
`value` varchar(64) NOT NULL,
`value` varchar(8192) NOT NULL,
PRIMARY KEY (`key`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
@ -68,7 +66,7 @@ CREATE TABLE IF NOT EXISTS `questions` (
`answer` varchar(1024) DEFAULT NULL,
`attached_file_answer` varchar(64) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=7 DEFAULT CHARSET=utf8;
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
@ -88,14 +86,14 @@ CREATE TABLE IF NOT EXISTS `teams` (
`participant_4` int(8) DEFAULT NULL,
`participant_5` int(8) DEFAULT NULL,
`inscription_date` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
`allow_publish` tinyint(1) DEFAULT 0,
`allow_publish` tinyint(1) NOT NULL DEFAULT '0',
`validation_status` varchar(64) NOT NULL,
`video_team1` int(11) DEFAULT NULL,
`video_team2` int(11) DEFAULT NULL,
`access_code` varchar(6) NOT NULL,
`year` int(4) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8;
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
@ -110,6 +108,8 @@ CREATE TABLE IF NOT EXISTS `users` (
`surname` varchar(255) NOT NULL,
`first_name` varchar(255) NOT NULL,
`school` varchar(255) DEFAULT NULL,
`city` varchar(256) DEFAULT NULL,
`country` varchar(256) DEFAULT NULL,
`class` varchar(255) DEFAULT NULL,
`description` varchar(255) DEFAULT NULL,
`role` varchar(64) NOT NULL,
@ -120,7 +120,7 @@ CREATE TABLE IF NOT EXISTS `users` (
`forgotten_password` varchar(64) DEFAULT NULL COMMENT 'Jeton de récupération de mot de passe',
`inscription_date` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8;
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
@ -138,7 +138,7 @@ CREATE TABLE IF NOT EXISTS `videos` (
`uploaded_at` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
`year` int(4) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=13 DEFAULT CHARSET=utf8;
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
COMMIT;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;