Modification majeure de la BDD

This commit is contained in:
xdrm-brackets 2015-12-01 19:08:42 +01:00
parent 72507bb15a
commit 39e06d22b5
1 changed files with 136 additions and 150 deletions

View File

@ -2,10 +2,10 @@
-- version 4.0.10deb1 -- version 4.0.10deb1
-- http://www.phpmyadmin.net -- http://www.phpmyadmin.net
-- --
-- Host: localhost -- Client: localhost
-- Generation Time: Dec 01, 2015 at 06:16 PM -- Généré le: Mar 01 Décembre 2015 à 19:08
-- Server version: 5.5.46-0ubuntu0.14.04.2 -- Version du serveur: 5.5.46-0ubuntu0.14.04.2
-- PHP Version: 5.5.9-1ubuntu4.14 -- Version de PHP: 5.5.9-1ubuntu4.14
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET time_zone = "+00:00"; SET time_zone = "+00:00";
@ -17,13 +17,13 @@ SET time_zone = "+00:00";
/*!40101 SET NAMES utf8 */; /*!40101 SET NAMES utf8 */;
-- --
-- Database: `sid3` -- Base de données: `sid2`
-- --
-- -------------------------------------------------------- -- --------------------------------------------------------
-- --
-- Table structure for table `appartenance` -- Structure de la table `appartenance`
-- --
CREATE TABLE IF NOT EXISTS `appartenance` ( CREATE TABLE IF NOT EXISTS `appartenance` (
@ -42,7 +42,7 @@ CREATE TABLE IF NOT EXISTS `appartenance` (
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=698 ; ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=698 ;
-- --
-- RELATIONS FOR TABLE `appartenance`: -- RELATIONS POUR LA TABLE `appartenance`:
-- `id_etudiant` -- `id_etudiant`
-- `utilisateur` -> `identifiant` -- `utilisateur` -> `identifiant`
-- `id_groupe` -- `id_groupe`
@ -52,7 +52,7 @@ CREATE TABLE IF NOT EXISTS `appartenance` (
-- --
-- --
-- Dumping data for table `appartenance` -- Contenu de la table `appartenance`
-- --
INSERT INTO `appartenance` (`id_appartenance`, `id_etudiant`, `id_groupe`, `id_semestre`) VALUES INSERT INTO `appartenance` (`id_appartenance`, `id_etudiant`, `id_groupe`, `id_semestre`) VALUES
@ -755,7 +755,7 @@ INSERT INTO `appartenance` (`id_appartenance`, `id_etudiant`, `id_groupe`, `id_s
-- -------------------------------------------------------- -- --------------------------------------------------------
-- --
-- Table structure for table `controle` -- Structure de la table `controle`
-- --
CREATE TABLE IF NOT EXISTS `controle` ( CREATE TABLE IF NOT EXISTS `controle` (
@ -765,117 +765,117 @@ CREATE TABLE IF NOT EXISTS `controle` (
`libelle` varchar(100) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL, `libelle` varchar(100) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
`base` int(11) NOT NULL, `base` int(11) NOT NULL,
`coefficient` float NOT NULL, `coefficient` float NOT NULL,
`date_publication` date NOT NULL, `publication` tinyint(1) NOT NULL DEFAULT '0',
PRIMARY KEY (`id_controle`), PRIMARY KEY (`id_controle`),
KEY `id_mcc_module` (`id_mcc_module`) KEY `id_mcc_module` (`id_mcc_module`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=259 ; ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=259 ;
-- --
-- RELATIONS FOR TABLE `controle`: -- RELATIONS POUR LA TABLE `controle`:
-- `id_mcc_module` -- `id_mcc_module`
-- `mcc_module` -> `id_mcc_module` -- `mcc_module` -> `id_mcc_module`
-- --
-- --
-- Dumping data for table `controle` -- Contenu de la table `controle`
-- --
INSERT INTO `controle` (`id_controle`, `id_mcc_module`, `nom`, `libelle`, `base`, `coefficient`, `date_publication`) VALUES INSERT INTO `controle` (`id_controle`, `id_mcc_module`, `nom`, `libelle`, `base`, `coefficient`, `publication`) VALUES
(169, 105, '4R1101E1', 'Archi n°1', 20, 25, '2015-11-29'), (169, 105, '4R1101E1', 'Archi n°1', 20, 25, 0),
(170, 105, '4R1101E2', 'Système', 20, 30, '2015-11-29'), (170, 105, '4R1101E2', 'Système', 20, 30, 0),
(171, 105, '4R1101E3', 'Archi n°2', 20, 25, '2015-11-29'), (171, 105, '4R1101E3', 'Archi n°2', 20, 25, 0),
(172, 105, '4R1101E4', 'Admin. Système', 20, 20, '2015-11-29'), (172, 105, '4R1101E4', 'Admin. Système', 20, 20, 0),
(173, 106, '4R1102E1', 'Controle TP', 20, 30, '2015-11-29'), (173, 106, '4R1102E1', 'Controle TP', 20, 30, 0),
(174, 106, '4R1102E2', 'Contrôle TP', 20, 30, '2015-11-29'), (174, 106, '4R1102E2', 'Contrôle TP', 20, 30, 0),
(175, 106, '4R1102E3', 'Algo - Prog', 20, 40, '2015-11-29'), (175, 106, '4R1102E3', 'Algo - Prog', 20, 40, 0),
(176, 107, '4R1103E1', 'CC TD/TP', 20, 40, '2015-11-29'), (176, 107, '4R1103E1', 'CC TD/TP', 20, 40, 0),
(177, 107, '4R1103E2', 'Struct. Données & Algo', 20, 60, '2015-11-29'), (177, 107, '4R1103E2', 'Struct. Données & Algo', 20, 60, 0),
(178, 108, '4R1104E1', 'ACSI', 20, 60, '2015-11-29'), (178, 108, '4R1104E1', 'ACSI', 20, 60, 0),
(179, 108, '4R1104E2', 'Bases de données', 20, 40, '2015-11-29'), (179, 108, '4R1104E2', 'Bases de données', 20, 40, 0),
(180, 109, '4R1105E1', 'Contrôle TP', 20, 32, '2015-11-29'), (180, 109, '4R1105E1', 'Contrôle TP', 20, 32, 0),
(181, 109, '4R1105E2', 'Contrôle TP', 20, 68, '2015-11-29'), (181, 109, '4R1105E2', 'Contrôle TP', 20, 68, 0),
(182, 110, '4R1106E1', 'Oral', 20, 50, '2015-11-29'), (182, 110, '4R1106E1', 'Oral', 20, 50, 0),
(183, 110, '4R1106E2', 'Ecrit', 20, 50, '2015-11-29'), (183, 110, '4R1106E2', 'Ecrit', 20, 50, 0),
(184, 111, '4R1201E1', 'Ecrit n°1', 20, 33, '2015-11-29'), (184, 111, '4R1201E1', 'Ecrit n°1', 20, 33, 0),
(185, 111, '4R1201E2', 'Ecrit n°2', 20, 67, '2015-11-29'), (185, 111, '4R1201E2', 'Ecrit n°2', 20, 67, 0),
(186, 112, '4R1202E1', 'Ecrit n°1', 20, 33, '2015-11-29'), (186, 112, '4R1202E1', 'Ecrit n°1', 20, 33, 0),
(187, 112, '4R1202E2', 'Ecrit n°2', 20, 67, '2015-11-29'), (187, 112, '4R1202E2', 'Ecrit n°2', 20, 67, 0),
(188, 113, '4R1203E1', 'Contrôle cont', 20, 25, '2015-11-29'), (188, 113, '4R1203E1', 'Contrôle cont', 20, 25, 0),
(189, 113, '4R1203E2', 'Environnement eco', 20, 75, '2015-11-29'), (189, 113, '4R1203E2', 'Environnement eco', 20, 75, 0),
(190, 114, '4R1204E1', 'Mod Organisation', 20, 65, '2015-11-29'), (190, 114, '4R1204E1', 'Mod Organisation', 20, 65, 0),
(191, 114, '4R1204E2', 'Diagnostic Strat.', 20, 35, '2015-11-29'), (191, 114, '4R1204E2', 'Diagnostic Strat.', 20, 35, 0),
(192, 115, '4R1205E1', 'Oral Indiv.', 20, 38, '2015-11-29'), (192, 115, '4R1205E1', 'Oral Indiv.', 20, 38, 0),
(193, 115, '4R1205E2', 'Ecrit CC', 20, 12, '2015-11-29'), (193, 115, '4R1205E2', 'Ecrit CC', 20, 12, 0),
(194, 115, '4R1205E3', 'Ecrit Indiv.', 20, 50, '2015-11-29'), (194, 115, '4R1205E3', 'Ecrit Indiv.', 20, 50, 0),
(195, 116, '4R1206E1', 'Anglais informatique : Oral', 20, 50, '2015-11-29'), (195, 116, '4R1206E1', 'Anglais informatique : Oral', 20, 50, 0),
(196, 116, '4R1206E2', 'Anglais informatique : Ecrit', 20, 50, '2015-11-29'), (196, 116, '4R1206E2', 'Anglais informatique : Ecrit', 20, 50, 0),
(197, 117, '4R1207E1', 'Oral Coll.', 20, 75, '2015-11-29'), (197, 117, '4R1207E1', 'Oral Coll.', 20, 75, 0),
(198, 117, '4R1207E2', 'Ecrit Ind.', 20, 25, '2015-11-29'), (198, 117, '4R1207E2', 'Ecrit Ind.', 20, 25, 0),
(199, 118, '4R1101E1', 'Archi n°1', 20, 25, '2015-11-30'), (199, 118, '4R1101E1', 'Archi n°1', 20, 25, 0),
(200, 118, '4R1101E2', 'Système', 20, 30, '2015-11-30'), (200, 118, '4R1101E2', 'Système', 20, 30, 0),
(201, 118, '4R1101E3', 'Archi n°2', 20, 25, '2015-11-30'), (201, 118, '4R1101E3', 'Archi n°2', 20, 25, 0),
(202, 118, '4R1101E4', 'Admin. Système', 20, 20, '2015-11-30'), (202, 118, '4R1101E4', 'Admin. Système', 20, 20, 0),
(203, 119, '4R1102E1', 'Controle TP', 20, 30, '2015-11-30'), (203, 119, '4R1102E1', 'Controle TP', 20, 30, 0),
(204, 119, '4R1102E2', 'Contrôle TP', 20, 30, '2015-11-30'), (204, 119, '4R1102E2', 'Contrôle TP', 20, 30, 0),
(205, 119, '4R1102E3', 'Algo - Prog', 20, 40, '2015-11-30'), (205, 119, '4R1102E3', 'Algo - Prog', 20, 40, 0),
(206, 120, '4R1103E1', 'CC TD/TP', 20, 40, '2015-11-30'), (206, 120, '4R1103E1', 'CC TD/TP', 20, 40, 0),
(207, 120, '4R1103E2', 'Struct. Données & Algo', 20, 60, '2015-11-30'), (207, 120, '4R1103E2', 'Struct. Données & Algo', 20, 60, 0),
(208, 121, '4R1104E1', 'ACSI', 20, 60, '2015-11-30'), (208, 121, '4R1104E1', 'ACSI', 20, 60, 0),
(209, 121, '4R1104E2', 'Bases de données', 20, 40, '2015-11-30'), (209, 121, '4R1104E2', 'Bases de données', 20, 40, 0),
(210, 122, '4R1105E1', 'Contrôle TP', 20, 32, '2015-11-30'), (210, 122, '4R1105E1', 'Contrôle TP', 20, 32, 0),
(211, 122, '4R1105E2', 'Contrôle TP', 20, 68, '2015-11-30'), (211, 122, '4R1105E2', 'Contrôle TP', 20, 68, 0),
(212, 123, '4R1106E1', 'Oral', 20, 50, '2015-11-30'), (212, 123, '4R1106E1', 'Oral', 20, 50, 0),
(213, 123, '4R1106E2', 'Ecrit', 20, 50, '2015-11-30'), (213, 123, '4R1106E2', 'Ecrit', 20, 50, 0),
(214, 124, '4R1201E1', 'Ecrit n°1', 20, 33, '2015-11-30'), (214, 124, '4R1201E1', 'Ecrit n°1', 20, 33, 0),
(215, 124, '4R1201E2', 'Ecrit n°2', 20, 67, '2015-11-30'), (215, 124, '4R1201E2', 'Ecrit n°2', 20, 67, 0),
(216, 125, '4R1202E1', 'Ecrit n°1', 20, 33, '2015-11-30'), (216, 125, '4R1202E1', 'Ecrit n°1', 20, 33, 0),
(217, 125, '4R1202E2', 'Ecrit n°2', 20, 67, '2015-11-30'), (217, 125, '4R1202E2', 'Ecrit n°2', 20, 67, 0),
(218, 126, '4R1203E1', 'Contrôle cont', 20, 25, '2015-11-30'), (218, 126, '4R1203E1', 'Contrôle cont', 20, 25, 0),
(219, 126, '4R1203E2', 'Environnement eco', 20, 75, '2015-11-30'), (219, 126, '4R1203E2', 'Environnement eco', 20, 75, 0),
(220, 127, '4R1204E1', 'Mod Organisation', 20, 65, '2015-11-30'), (220, 127, '4R1204E1', 'Mod Organisation', 20, 65, 0),
(221, 127, '4R1204E2', 'Diagnostic Strat.', 20, 35, '2015-11-30'), (221, 127, '4R1204E2', 'Diagnostic Strat.', 20, 35, 0),
(222, 128, '4R1205E1', 'Oral Indiv.', 20, 38, '2015-11-30'), (222, 128, '4R1205E1', 'Oral Indiv.', 20, 38, 0),
(223, 128, '4R1205E2', 'Ecrit CC', 20, 12, '2015-11-30'), (223, 128, '4R1205E2', 'Ecrit CC', 20, 12, 0),
(224, 128, '4R1205E3', 'Ecrit Indiv.', 20, 50, '2015-11-30'), (224, 128, '4R1205E3', 'Ecrit Indiv.', 20, 50, 0),
(225, 129, '4R1206E1', 'Anglais informatique : Oral', 20, 50, '2015-11-30'), (225, 129, '4R1206E1', 'Anglais informatique : Oral', 20, 50, 0),
(226, 129, '4R1206E2', 'Anglais informatique : Ecrit', 20, 50, '2015-11-30'), (226, 129, '4R1206E2', 'Anglais informatique : Ecrit', 20, 50, 0),
(227, 130, '4R1207E1', 'Oral Coll.', 20, 75, '2015-11-30'), (227, 130, '4R1207E1', 'Oral Coll.', 20, 75, 0),
(228, 130, '4R1207E2', 'Ecrit Ind.', 20, 25, '2015-11-30'), (228, 130, '4R1207E2', 'Ecrit Ind.', 20, 25, 0),
(229, 131, '4R1101E1', 'Archi n°1', 20, 25, '2015-11-30'), (229, 131, '4R1101E1', 'Archi n°1', 20, 25, 0),
(230, 131, '4R1101E2', 'Système', 20, 30, '2015-11-30'), (230, 131, '4R1101E2', 'Système', 20, 30, 0),
(231, 131, '4R1101E3', 'Archi n°2', 20, 25, '2015-11-30'), (231, 131, '4R1101E3', 'Archi n°2', 20, 25, 0),
(232, 131, '4R1101E4', 'Admin. Système', 20, 20, '2015-11-30'), (232, 131, '4R1101E4', 'Admin. Système', 20, 20, 0),
(233, 132, '4R1102E1', 'Controle TP', 20, 30, '2015-11-30'), (233, 132, '4R1102E1', 'Controle TP', 20, 30, 0),
(234, 132, '4R1102E2', 'Contrôle TP', 20, 30, '2015-11-30'), (234, 132, '4R1102E2', 'Contrôle TP', 20, 30, 0),
(235, 132, '4R1102E3', 'Algo - Prog', 20, 40, '2015-11-30'), (235, 132, '4R1102E3', 'Algo - Prog', 20, 40, 0),
(236, 133, '4R1103E1', 'CC TD/TP', 20, 40, '2015-11-30'), (236, 133, '4R1103E1', 'CC TD/TP', 20, 40, 0),
(237, 133, '4R1103E2', 'Struct. Données & Algo', 20, 60, '2015-11-30'), (237, 133, '4R1103E2', 'Struct. Données & Algo', 20, 60, 0),
(238, 134, '4R1104E1', 'ACSI', 20, 60, '2015-11-30'), (238, 134, '4R1104E1', 'ACSI', 20, 60, 0),
(239, 134, '4R1104E2', 'Bases de données', 20, 40, '2015-11-30'), (239, 134, '4R1104E2', 'Bases de données', 20, 40, 0),
(240, 135, '4R1105E1', 'Contrôle TP', 20, 32, '2015-11-30'), (240, 135, '4R1105E1', 'Contrôle TP', 20, 32, 0),
(241, 135, '4R1105E2', 'Contrôle TP', 20, 68, '2015-11-30'), (241, 135, '4R1105E2', 'Contrôle TP', 20, 68, 0),
(242, 136, '4R1106E1', 'Oral', 20, 50, '2015-11-30'), (242, 136, '4R1106E1', 'Oral', 20, 50, 0),
(243, 136, '4R1106E2', 'Ecrit', 20, 50, '2015-11-30'), (243, 136, '4R1106E2', 'Ecrit', 20, 50, 0),
(244, 137, '4R1201E1', 'Ecrit n°1', 20, 33, '2015-11-30'), (244, 137, '4R1201E1', 'Ecrit n°1', 20, 33, 0),
(245, 137, '4R1201E2', 'Ecrit n°2', 20, 67, '2015-11-30'), (245, 137, '4R1201E2', 'Ecrit n°2', 20, 67, 0),
(246, 138, '4R1202E1', 'Ecrit n°1', 20, 33, '2015-11-30'), (246, 138, '4R1202E1', 'Ecrit n°1', 20, 33, 0),
(247, 138, '4R1202E2', 'Ecrit n°2', 20, 67, '2015-11-30'), (247, 138, '4R1202E2', 'Ecrit n°2', 20, 67, 0),
(248, 139, '4R1203E1', 'Contrôle cont', 20, 25, '2015-11-30'), (248, 139, '4R1203E1', 'Contrôle cont', 20, 25, 0),
(249, 139, '4R1203E2', 'Environnement eco', 20, 75, '2015-11-30'), (249, 139, '4R1203E2', 'Environnement eco', 20, 75, 0),
(250, 140, '4R1204E1', 'Mod Organisation', 20, 65, '2015-11-30'), (250, 140, '4R1204E1', 'Mod Organisation', 20, 65, 0),
(251, 140, '4R1204E2', 'Diagnostic Strat.', 20, 35, '2015-11-30'), (251, 140, '4R1204E2', 'Diagnostic Strat.', 20, 35, 0),
(252, 141, '4R1205E1', 'Oral Indiv.', 20, 38, '2015-11-30'), (252, 141, '4R1205E1', 'Oral Indiv.', 20, 38, 0),
(253, 141, '4R1205E2', 'Ecrit CC', 20, 12, '2015-11-30'), (253, 141, '4R1205E2', 'Ecrit CC', 20, 12, 0),
(254, 141, '4R1205E3', 'Ecrit Indiv.', 20, 50, '2015-11-30'), (254, 141, '4R1205E3', 'Ecrit Indiv.', 20, 50, 0),
(255, 142, '4R1206E1', 'Anglais informatique : Oral', 20, 50, '2015-11-30'), (255, 142, '4R1206E1', 'Anglais informatique : Oral', 20, 50, 0),
(256, 142, '4R1206E2', 'Anglais informatique : Ecrit', 20, 50, '2015-11-30'), (256, 142, '4R1206E2', 'Anglais informatique : Ecrit', 20, 50, 0),
(257, 143, '4R1207E1', 'Oral Coll.', 20, 75, '2015-11-30'), (257, 143, '4R1207E1', 'Oral Coll.', 20, 75, 0),
(258, 143, '4R1207E2', 'Ecrit Ind.', 20, 25, '2015-11-30'); (258, 143, '4R1207E2', 'Ecrit Ind.', 20, 25, 0);
-- -------------------------------------------------------- -- --------------------------------------------------------
-- --
-- Table structure for table `enseignement` -- Structure de la table `enseignement`
-- --
CREATE TABLE IF NOT EXISTS `enseignement` ( CREATE TABLE IF NOT EXISTS `enseignement` (
@ -891,7 +891,7 @@ CREATE TABLE IF NOT EXISTS `enseignement` (
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=204 ; ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=204 ;
-- --
-- RELATIONS FOR TABLE `enseignement`: -- RELATIONS POUR LA TABLE `enseignement`:
-- `id_enseignant` -- `id_enseignant`
-- `utilisateur` -> `identifiant` -- `utilisateur` -> `identifiant`
-- `id_groupe` -- `id_groupe`
@ -901,24 +901,10 @@ CREATE TABLE IF NOT EXISTS `enseignement` (
-- --
-- --
-- Dumping data for table `enseignement` -- Contenu de la table `enseignement`
-- --
INSERT INTO `enseignement` (`id_enseignement`, `id_enseignant`, `id_mcc_module`, `id_groupe`, `correcteur`) VALUES INSERT INTO `enseignement` (`id_enseignement`, `id_enseignant`, `id_mcc_module`, `id_groupe`, `correcteur`) VALUES
(161, 'admin2', 105, 37, 1),
(162, 'admin2', 105, 1, 1),
(163, 'admin2', 105, 5, 1),
(164, 'admin2', 105, 9, 1),
(165, 'admin2', 105, 13, 1),
(166, 'admin2', 105, 17, 1),
(167, 'admin2', 105, 21, 1),
(168, 'admin', 105, 37, 1),
(169, 'admin', 105, 1, 1),
(170, 'admin', 105, 5, 1),
(171, 'admin', 105, 9, 1),
(172, 'admin', 105, 13, 1),
(173, 'admin', 105, 17, 1),
(174, 'admin', 105, 21, 1),
(192, 'lbh1609a', 105, 17, 1), (192, 'lbh1609a', 105, 17, 1),
(194, 'lbh1609a', 105, 1, 1), (194, 'lbh1609a', 105, 1, 1),
(195, 'lbh1609a', 105, 9, 1); (195, 'lbh1609a', 105, 9, 1);
@ -926,7 +912,7 @@ INSERT INTO `enseignement` (`id_enseignement`, `id_enseignant`, `id_mcc_module`,
-- -------------------------------------------------------- -- --------------------------------------------------------
-- --
-- Table structure for table `formation` -- Structure de la table `formation`
-- --
CREATE TABLE IF NOT EXISTS `formation` ( CREATE TABLE IF NOT EXISTS `formation` (
@ -938,7 +924,7 @@ CREATE TABLE IF NOT EXISTS `formation` (
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=9 ; ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=9 ;
-- --
-- Dumping data for table `formation` -- Contenu de la table `formation`
-- --
INSERT INTO `formation` (`id_formation`, `code`, `nom`, `nb_semestres`) VALUES INSERT INTO `formation` (`id_formation`, `code`, `nom`, `nb_semestres`) VALUES
@ -954,7 +940,7 @@ INSERT INTO `formation` (`id_formation`, `code`, `nom`, `nb_semestres`) VALUES
-- -------------------------------------------------------- -- --------------------------------------------------------
-- --
-- Table structure for table `groupe` -- Structure de la table `groupe`
-- --
CREATE TABLE IF NOT EXISTS `groupe` ( CREATE TABLE IF NOT EXISTS `groupe` (
@ -964,7 +950,7 @@ CREATE TABLE IF NOT EXISTS `groupe` (
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=42 ; ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=42 ;
-- --
-- Dumping data for table `groupe` -- Contenu de la table `groupe`
-- --
INSERT INTO `groupe` (`id_groupe`, `nom`) VALUES INSERT INTO `groupe` (`id_groupe`, `nom`) VALUES
@ -1004,7 +990,7 @@ INSERT INTO `groupe` (`id_groupe`, `nom`) VALUES
-- -------------------------------------------------------- -- --------------------------------------------------------
-- --
-- Table structure for table `mcc_module` -- Structure de la table `mcc_module`
-- --
CREATE TABLE IF NOT EXISTS `mcc_module` ( CREATE TABLE IF NOT EXISTS `mcc_module` (
@ -1018,7 +1004,7 @@ CREATE TABLE IF NOT EXISTS `mcc_module` (
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=144 ; ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=144 ;
-- --
-- RELATIONS FOR TABLE `mcc_module`: -- RELATIONS POUR LA TABLE `mcc_module`:
-- `id_mcc_ue` -- `id_mcc_ue`
-- `mcc_ue` -> `id_mcc_ue` -- `mcc_ue` -> `id_mcc_ue`
-- `id_module` -- `id_module`
@ -1026,7 +1012,7 @@ CREATE TABLE IF NOT EXISTS `mcc_module` (
-- --
-- --
-- Dumping data for table `mcc_module` -- Contenu de la table `mcc_module`
-- --
INSERT INTO `mcc_module` (`id_mcc_module`, `id_mcc_ue`, `id_module`, `coefficient`) VALUES INSERT INTO `mcc_module` (`id_mcc_module`, `id_mcc_ue`, `id_module`, `coefficient`) VALUES
@ -1073,7 +1059,7 @@ INSERT INTO `mcc_module` (`id_mcc_module`, `id_mcc_ue`, `id_module`, `coefficien
-- -------------------------------------------------------- -- --------------------------------------------------------
-- --
-- Table structure for table `mcc_ue` -- Structure de la table `mcc_ue`
-- --
CREATE TABLE IF NOT EXISTS `mcc_ue` ( CREATE TABLE IF NOT EXISTS `mcc_ue` (
@ -1087,7 +1073,7 @@ CREATE TABLE IF NOT EXISTS `mcc_ue` (
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=23 ; ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=23 ;
-- --
-- RELATIONS FOR TABLE `mcc_ue`: -- RELATIONS POUR LA TABLE `mcc_ue`:
-- `id_semestre` -- `id_semestre`
-- `semestre` -> `id_semestre` -- `semestre` -> `id_semestre`
-- `id_ue` -- `id_ue`
@ -1095,7 +1081,7 @@ CREATE TABLE IF NOT EXISTS `mcc_ue` (
-- --
-- --
-- Dumping data for table `mcc_ue` -- Contenu de la table `mcc_ue`
-- --
INSERT INTO `mcc_ue` (`id_mcc_ue`, `id_semestre`, `id_ue`, `coefficient`) VALUES INSERT INTO `mcc_ue` (`id_mcc_ue`, `id_semestre`, `id_ue`, `coefficient`) VALUES
@ -1109,7 +1095,7 @@ INSERT INTO `mcc_ue` (`id_mcc_ue`, `id_semestre`, `id_ue`, `coefficient`) VALUES
-- -------------------------------------------------------- -- --------------------------------------------------------
-- --
-- Table structure for table `module` -- Structure de la table `module`
-- --
CREATE TABLE IF NOT EXISTS `module` ( CREATE TABLE IF NOT EXISTS `module` (
@ -1120,7 +1106,7 @@ CREATE TABLE IF NOT EXISTS `module` (
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=66 ; ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=66 ;
-- --
-- Dumping data for table `module` -- Contenu de la table `module`
-- --
INSERT INTO `module` (`id_module`, `nom`, `libelle`) VALUES INSERT INTO `module` (`id_module`, `nom`, `libelle`) VALUES
@ -1141,7 +1127,7 @@ INSERT INTO `module` (`id_module`, `nom`, `libelle`) VALUES
-- -------------------------------------------------------- -- --------------------------------------------------------
-- --
-- Table structure for table `note` -- Structure de la table `note`
-- --
CREATE TABLE IF NOT EXISTS `note` ( CREATE TABLE IF NOT EXISTS `note` (
@ -1155,7 +1141,7 @@ CREATE TABLE IF NOT EXISTS `note` (
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=48 ; ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=48 ;
-- --
-- RELATIONS FOR TABLE `note`: -- RELATIONS POUR LA TABLE `note`:
-- `id_appartenance` -- `id_appartenance`
-- `appartenance` -> `id_appartenance` -- `appartenance` -> `id_appartenance`
-- `id_controle` -- `id_controle`
@ -1163,7 +1149,7 @@ CREATE TABLE IF NOT EXISTS `note` (
-- --
-- --
-- Dumping data for table `note` -- Contenu de la table `note`
-- --
INSERT INTO `note` (`id_note`, `id_appartenance`, `id_controle`, `valeur`) VALUES INSERT INTO `note` (`id_note`, `id_appartenance`, `id_controle`, `valeur`) VALUES
@ -1184,7 +1170,7 @@ INSERT INTO `note` (`id_note`, `id_appartenance`, `id_controle`, `valeur`) VALUE
-- -------------------------------------------------------- -- --------------------------------------------------------
-- --
-- Table structure for table `semestre` -- Structure de la table `semestre`
-- --
CREATE TABLE IF NOT EXISTS `semestre` ( CREATE TABLE IF NOT EXISTS `semestre` (
@ -1198,13 +1184,13 @@ CREATE TABLE IF NOT EXISTS `semestre` (
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=20 ; ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=20 ;
-- --
-- RELATIONS FOR TABLE `semestre`: -- RELATIONS POUR LA TABLE `semestre`:
-- `id_formation` -- `id_formation`
-- `formation` -> `id_formation` -- `formation` -> `id_formation`
-- --
-- --
-- Dumping data for table `semestre` -- Contenu de la table `semestre`
-- --
INSERT INTO `semestre` (`id_semestre`, `id_formation`, `nom`, `rang`, `annee`) VALUES INSERT INTO `semestre` (`id_semestre`, `id_formation`, `nom`, `rang`, `annee`) VALUES
@ -1231,7 +1217,7 @@ INSERT INTO `semestre` (`id_semestre`, `id_formation`, `nom`, `rang`, `annee`) V
-- -------------------------------------------------------- -- --------------------------------------------------------
-- --
-- Table structure for table `ue` -- Structure de la table `ue`
-- --
CREATE TABLE IF NOT EXISTS `ue` ( CREATE TABLE IF NOT EXISTS `ue` (
@ -1242,7 +1228,7 @@ CREATE TABLE IF NOT EXISTS `ue` (
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=11 ; ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=11 ;
-- --
-- Dumping data for table `ue` -- Contenu de la table `ue`
-- --
INSERT INTO `ue` (`id_ue`, `nom`, `libelle`) VALUES INSERT INTO `ue` (`id_ue`, `nom`, `libelle`) VALUES
@ -1252,7 +1238,7 @@ INSERT INTO `ue` (`id_ue`, `nom`, `libelle`) VALUES
-- -------------------------------------------------------- -- --------------------------------------------------------
-- --
-- Table structure for table `utilisateur` -- Structure de la table `utilisateur`
-- --
CREATE TABLE IF NOT EXISTS `utilisateur` ( CREATE TABLE IF NOT EXISTS `utilisateur` (
@ -1268,7 +1254,7 @@ CREATE TABLE IF NOT EXISTS `utilisateur` (
) ENGINE=InnoDB DEFAULT CHARSET=latin1; ) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-- --
-- Dumping data for table `utilisateur` -- Contenu de la table `utilisateur`
-- --
INSERT INTO `utilisateur` (`identifiant`, `prenom`, `nom`, `sexe`, `mail`, `mdp`, `droits`) VALUES INSERT INTO `utilisateur` (`identifiant`, `prenom`, `nom`, `sexe`, `mail`, `mdp`, `droits`) VALUES
@ -1676,11 +1662,11 @@ INSERT INTO `utilisateur` (`identifiant`, `prenom`, `nom`, `sexe`, `mail`, `mdp`
('zgy1948a', 'Emily', 'ALVARADO', 0, 'emily.alvarado@etu.iut-tlse3.fr', '34ad81180ba7cfa510101af8abe47a558e46858a', 'student'); ('zgy1948a', 'Emily', 'ALVARADO', 0, 'emily.alvarado@etu.iut-tlse3.fr', '34ad81180ba7cfa510101af8abe47a558e46858a', 'student');
-- --
-- Constraints for dumped tables -- Contraintes pour les tables exportées
-- --
-- --
-- Constraints for table `appartenance` -- Contraintes pour la table `appartenance`
-- --
ALTER TABLE `appartenance` ALTER TABLE `appartenance`
ADD CONSTRAINT `appartenance_ibfk_1` FOREIGN KEY (`id_etudiant`) REFERENCES `utilisateur` (`identifiant`), ADD CONSTRAINT `appartenance_ibfk_1` FOREIGN KEY (`id_etudiant`) REFERENCES `utilisateur` (`identifiant`),
@ -1688,13 +1674,13 @@ ALTER TABLE `appartenance`
ADD CONSTRAINT `appartenance_ibfk_3` FOREIGN KEY (`id_semestre`) REFERENCES `semestre` (`id_semestre`); ADD CONSTRAINT `appartenance_ibfk_3` FOREIGN KEY (`id_semestre`) REFERENCES `semestre` (`id_semestre`);
-- --
-- Constraints for table `controle` -- Contraintes pour la table `controle`
-- --
ALTER TABLE `controle` ALTER TABLE `controle`
ADD CONSTRAINT `controle_ibfk_1` FOREIGN KEY (`id_mcc_module`) REFERENCES `mcc_module` (`id_mcc_module`) ON DELETE CASCADE; ADD CONSTRAINT `controle_ibfk_1` FOREIGN KEY (`id_mcc_module`) REFERENCES `mcc_module` (`id_mcc_module`) ON DELETE CASCADE;
-- --
-- Constraints for table `enseignement` -- Contraintes pour la table `enseignement`
-- --
ALTER TABLE `enseignement` ALTER TABLE `enseignement`
ADD CONSTRAINT `enseignement_id_enseignant` FOREIGN KEY (`id_enseignant`) REFERENCES `utilisateur` (`identifiant`), ADD CONSTRAINT `enseignement_id_enseignant` FOREIGN KEY (`id_enseignant`) REFERENCES `utilisateur` (`identifiant`),
@ -1702,28 +1688,28 @@ ALTER TABLE `enseignement`
ADD CONSTRAINT `enseignement_id_mcc_module` FOREIGN KEY (`id_mcc_module`) REFERENCES `mcc_module` (`id_mcc_module`); ADD CONSTRAINT `enseignement_id_mcc_module` FOREIGN KEY (`id_mcc_module`) REFERENCES `mcc_module` (`id_mcc_module`);
-- --
-- Constraints for table `mcc_module` -- Contraintes pour la table `mcc_module`
-- --
ALTER TABLE `mcc_module` ALTER TABLE `mcc_module`
ADD CONSTRAINT `mcc_module_id_mcc_ue` FOREIGN KEY (`id_mcc_ue`) REFERENCES `mcc_ue` (`id_mcc_ue`) ON DELETE CASCADE, ADD CONSTRAINT `mcc_module_id_mcc_ue` FOREIGN KEY (`id_mcc_ue`) REFERENCES `mcc_ue` (`id_mcc_ue`) ON DELETE CASCADE,
ADD CONSTRAINT `mcc_module_id_module` FOREIGN KEY (`id_module`) REFERENCES `module` (`id_module`) ON DELETE CASCADE; ADD CONSTRAINT `mcc_module_id_module` FOREIGN KEY (`id_module`) REFERENCES `module` (`id_module`) ON DELETE CASCADE;
-- --
-- Constraints for table `mcc_ue` -- Contraintes pour la table `mcc_ue`
-- --
ALTER TABLE `mcc_ue` ALTER TABLE `mcc_ue`
ADD CONSTRAINT `mcc_ue_id_semestre` FOREIGN KEY (`id_semestre`) REFERENCES `semestre` (`id_semestre`) ON DELETE CASCADE, ADD CONSTRAINT `mcc_ue_id_semestre` FOREIGN KEY (`id_semestre`) REFERENCES `semestre` (`id_semestre`) ON DELETE CASCADE,
ADD CONSTRAINT `mcc_ue_id_ue` FOREIGN KEY (`id_ue`) REFERENCES `ue` (`id_ue`) ON DELETE CASCADE; ADD CONSTRAINT `mcc_ue_id_ue` FOREIGN KEY (`id_ue`) REFERENCES `ue` (`id_ue`) ON DELETE CASCADE;
-- --
-- Constraints for table `note` -- Contraintes pour la table `note`
-- --
ALTER TABLE `note` ALTER TABLE `note`
ADD CONSTRAINT `note_id_appartenance` FOREIGN KEY (`id_appartenance`) REFERENCES `appartenance` (`id_appartenance`) ON DELETE CASCADE, ADD CONSTRAINT `note_id_appartenance` FOREIGN KEY (`id_appartenance`) REFERENCES `appartenance` (`id_appartenance`) ON DELETE CASCADE,
ADD CONSTRAINT `note_id_controle` FOREIGN KEY (`id_controle`) REFERENCES `controle` (`id_controle`) ON DELETE CASCADE; ADD CONSTRAINT `note_id_controle` FOREIGN KEY (`id_controle`) REFERENCES `controle` (`id_controle`) ON DELETE CASCADE;
-- --
-- Constraints for table `semestre` -- Contraintes pour la table `semestre`
-- --
ALTER TABLE `semestre` ALTER TABLE `semestre`
ADD CONSTRAINT `semestre_id_formation` FOREIGN KEY (`id_formation`) REFERENCES `formation` (`id_formation`); ADD CONSTRAINT `semestre_id_formation` FOREIGN KEY (`id_formation`) REFERENCES `formation` (`id_formation`);