mirror of
https://gitlab.com/animath/si/plateforme-corres2math.git
synced 2025-01-08 13:42:23 +00:00
Ouverture des Correspondances
This commit is contained in:
parent
5c88ccb91a
commit
5877a734b3
2
.idea/.gitignore
vendored
2
.idea/.gitignore
vendored
@ -3,4 +3,4 @@
|
|||||||
/workspace.xml
|
/workspace.xml
|
||||||
# Datasource local storage ignored files
|
# Datasource local storage ignored files
|
||||||
/dataSources/
|
/dataSources/
|
||||||
/dataSources.local.xml
|
/dataSources.local.xml
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
-- https://www.phpmyadmin.net/
|
-- https://www.phpmyadmin.net/
|
||||||
--
|
--
|
||||||
-- Hôte : db
|
-- 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 du serveur : 5.7.20
|
||||||
-- Version de PHP : 7.1.9
|
-- Version de PHP : 7.1.9
|
||||||
|
|
||||||
@ -21,8 +21,6 @@ SET time_zone = "+00:00";
|
|||||||
--
|
--
|
||||||
-- Base de données : `inscription_corres2math`
|
-- 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` (
|
CREATE TABLE IF NOT EXISTS `config` (
|
||||||
`key` varchar(64) NOT NULL,
|
`key` varchar(64) NOT NULL,
|
||||||
`value` varchar(64) NOT NULL,
|
`value` varchar(8192) NOT NULL,
|
||||||
PRIMARY KEY (`key`)
|
PRIMARY KEY (`key`)
|
||||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
||||||
|
|
||||||
@ -68,7 +66,7 @@ CREATE TABLE IF NOT EXISTS `questions` (
|
|||||||
`answer` varchar(1024) DEFAULT NULL,
|
`answer` varchar(1024) DEFAULT NULL,
|
||||||
`attached_file_answer` varchar(64) DEFAULT NULL,
|
`attached_file_answer` varchar(64) DEFAULT NULL,
|
||||||
PRIMARY KEY (`id`)
|
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_4` int(8) DEFAULT NULL,
|
||||||
`participant_5` int(8) DEFAULT NULL,
|
`participant_5` int(8) DEFAULT NULL,
|
||||||
`inscription_date` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
|
`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,
|
`validation_status` varchar(64) NOT NULL,
|
||||||
`video_team1` int(11) DEFAULT NULL,
|
`video_team1` int(11) DEFAULT NULL,
|
||||||
`video_team2` int(11) DEFAULT NULL,
|
`video_team2` int(11) DEFAULT NULL,
|
||||||
`access_code` varchar(6) NOT NULL,
|
`access_code` varchar(6) NOT NULL,
|
||||||
`year` int(4) NOT NULL,
|
`year` int(4) NOT NULL,
|
||||||
PRIMARY KEY (`id`)
|
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,
|
`surname` varchar(255) NOT NULL,
|
||||||
`first_name` varchar(255) NOT NULL,
|
`first_name` varchar(255) NOT NULL,
|
||||||
`school` varchar(255) DEFAULT NULL,
|
`school` varchar(255) DEFAULT NULL,
|
||||||
|
`city` varchar(256) DEFAULT NULL,
|
||||||
|
`country` varchar(256) DEFAULT NULL,
|
||||||
`class` varchar(255) DEFAULT NULL,
|
`class` varchar(255) DEFAULT NULL,
|
||||||
`description` varchar(255) DEFAULT NULL,
|
`description` varchar(255) DEFAULT NULL,
|
||||||
`role` varchar(64) NOT 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',
|
`forgotten_password` varchar(64) DEFAULT NULL COMMENT 'Jeton de récupération de mot de passe',
|
||||||
`inscription_date` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
|
`inscription_date` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
|
||||||
PRIMARY KEY (`id`)
|
PRIMARY KEY (`id`)
|
||||||
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8;
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
||||||
|
|
||||||
-- --------------------------------------------------------
|
-- --------------------------------------------------------
|
||||||
|
|
||||||
@ -138,9 +138,9 @@ CREATE TABLE IF NOT EXISTS `videos` (
|
|||||||
`uploaded_at` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
|
`uploaded_at` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
|
||||||
`year` int(4) NOT NULL,
|
`year` int(4) NOT NULL,
|
||||||
PRIMARY KEY (`id`)
|
PRIMARY KEY (`id`)
|
||||||
) ENGINE=InnoDB AUTO_INCREMENT=13 DEFAULT CHARSET=utf8;
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
||||||
COMMIT;
|
COMMIT;
|
||||||
|
|
||||||
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
|
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
|
||||||
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
|
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
|
||||||
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
|
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
|
||||||
|
Loading…
Reference in New Issue
Block a user