-- phpMyAdmin SQL Dump
-- version 4.6.6deb5
-- https://www.phpmyadmin.net/
--
-- Host: localhost:3306
-- Generation Time: Aug 18, 2020 at 07:57 PM
-- Server version: 5.7.31-0ubuntu0.18.04.1
-- PHP Version: 7.2.24-0ubuntu0.18.04.6

SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET time_zone = "+00:00";


/*!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 utf8mb4 */;

--
-- Database: `gestjury`
--

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

--
-- Table structure for table `academique`
--

CREATE TABLE `academique` (
  `annee_acad` year(4) NOT NULL,
  `idEtablissement` tinyint(2) NOT NULL,
  `periode` varchar(10) DEFAULT NULL,
  `affiche` enum('YES','NO') DEFAULT 'NO'
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `academique`
--

INSERT INTO `academique` (`annee_acad`, `idEtablissement`, `periode`, `affiche`) VALUES
(2020, 1, '2020-2021', 'YES');

--
-- Indexes for dumped tables
--

--
-- Indexes for table `academique`
--
ALTER TABLE `academique`
  ADD PRIMARY KEY (`annee_acad`,`idEtablissement`),
  ADD KEY `fk_academique_1_idx` (`idEtablissement`);

/*!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 */;
