KEY (`id_student`,`id_responsible`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

--
-- Contenu de la table `responsible`
--

INSERT INTO `responsible` (`id_student`, `id_responsible`) VALUES
(3, 2),
(3, 3),
(3, 28),
(4, 2),
(4, 4),
(4, 28),
(5, 9),
(22, 26);

-- --------------------------------------------------------

--
-- Structure de la table `school_report`
--

CREATE TABLE IF NOT EXISTS `school_report` (
  `id_report` int(11) NOT NULL AUTO_INCREMENT,
  `status` tinyint(1) DEFAULT '0',
  `id_user` int(11) NOT NULL,
  PRIMARY KEY (`id_report`),
  KEY `FK_school_report_id_user` (`id_user`)
) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=13 ;

--
-- Contenu de la table `school_report`
--

INSERT INTO `school_report` (`id_report`, `status`, `id_user`) VALUES
(3, 0, 3),
(4, 0, 4),
(5, 0, 5),
(6, 0, 6),
(7, 0, 7),
(8, 0, 8),
(9, 0, 22),
(10, 0, 23),
(11, 0, 24),
(12, 0, 25);

-- --------------------------------------------------------

--
-- Structure de la table `teacher`
--

CREATE TABLE IF NOT EXISTS `teacher` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `id_user` int(11) NOT NULL,
  `id_discipline` int(11) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=3 ;

--
-- Contenu de la table `teacher`
--

INSERT INTO `teacher` (`id`, `id_user`, `id_discipline`) VALUES
(1, 13, 1),
(2, 14, 2);

-- --------------------------------------------------------

--
-- Structure de la table `type`
--

CREATE TABLE IF NOT EXISTS `type` (
  `id_type` int(11) NOT NULL AUTO_INCREMENT,
  `wording` varchar(50) DEFAULT NULL,
  PRIMARY KEY (`id_type`)
) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=3 ;

--
-- Contenu de la table `type`
--

INSERT INTO `type` (`id_type`, `wording`) VALUES
(1, 'Demande de rendez-vous'),
(2, 'Absence');
