Commit 1919ee2d authored by Charles DORMEVAL's avatar Charles DORMEVAL
Browse files

bd remplie + vide

parent a0966177
-- phpMyAdmin SQL Dump
-- version 4.7.4
-- https://www.phpmyadmin.net/
--
-- Hôte : 127.0.0.1:3306
-- Généré le : mar. 23 jan. 2018 à 07:59
-- Version du serveur : 5.7.19
-- Version de PHP : 5.6.31
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET AUTOCOMMIT = 0;
START TRANSACTION;
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 */;
--
-- Base de données : `projet`
--
-- --------------------------------------------------------
--
-- Structure de la table `auteurs`
--
DROP TABLE IF EXISTS `auteurs`;
CREATE TABLE IF NOT EXISTS `auteurs` (
`id_auteur` int(255) NOT NULL AUTO_INCREMENT,
`nom_auteur` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
PRIMARY KEY (`id_auteur`),
UNIQUE KEY `id_auteur` (`id_auteur`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
-- --------------------------------------------------------
--
-- Structure de la table `citations`
--
DROP TABLE IF EXISTS `citations`;
CREATE TABLE IF NOT EXISTS `citations` (
`id_citation` int(255) NOT NULL AUTO_INCREMENT,
`contenu` text COLLATE utf8_unicode_ci NOT NULL,
`id_oeuvre` int(255) NOT NULL,
PRIMARY KEY (`id_citation`),
UNIQUE KEY `id_citation` (`id_citation`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
-- --------------------------------------------------------
--
-- Structure de la table `oeuvres`
--
DROP TABLE IF EXISTS `oeuvres`;
CREATE TABLE IF NOT EXISTS `oeuvres` (
`id_oeuvre` int(255) NOT NULL AUTO_INCREMENT,
`nom_oeuvre` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`date_oeuvre` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
`id_auteur` int(255) NOT NULL,
PRIMARY KEY (`id_oeuvre`),
UNIQUE KEY `id_oeuvre` (`id_oeuvre`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
COMMIT;
/*!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 */;
This diff is collapsed.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment