You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
167 lines
4.5 KiB
167 lines
4.5 KiB
-- phpMyAdmin SQL Dump
|
|
-- version 5.1.1
|
|
-- https://www.phpmyadmin.net/
|
|
--
|
|
-- Hôte : 127.0.0.1
|
|
-- Généré le : mer. 01 juin 2022 à 11:36
|
|
-- Version du serveur : 10.4.19-MariaDB
|
|
-- Version de PHP : 7.4.20
|
|
|
|
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
|
|
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 : `eval_db`
|
|
--
|
|
|
|
-- --------------------------------------------------------
|
|
|
|
--
|
|
-- Structure de la table `option`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `option`;
|
|
CREATE TABLE `option` (
|
|
`id_option` bigint(20) UNSIGNED NOT NULL,
|
|
`option_name` varchar(191) COLLATE utf8mb4_unicode_520_ci NOT NULL DEFAULT '',
|
|
`option_value` longtext COLLATE utf8mb4_unicode_520_ci NOT NULL,
|
|
`autoload` varchar(20) COLLATE utf8mb4_unicode_520_ci NOT NULL DEFAULT 'yes'
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_520_ci;
|
|
|
|
--
|
|
-- Déchargement des données de la table `option`
|
|
--
|
|
|
|
INSERT INTO `option` (`id_option`, `option_name`, `option_value`, `autoload`) VALUES
|
|
(7, 'start_of_week', '1', 'yes'),
|
|
(8, 'use_balanceTags', '0', 'yes'),
|
|
(11, 'comments_notify', '1', 'yes'),
|
|
(12, 'posts_per_rss', '10', 'yes'),
|
|
(13, 'rss_use_excerpt', '0', 'yes'),
|
|
(14, 'mailserver_url', 'mail.example.com', 'yes'),
|
|
(15, 'mailserver_login', 'login@example.com', 'yes'),
|
|
(16, 'mailserver_pass', 'password', 'yes'),
|
|
(17, 'mailserver_port', '110', 'yes'),
|
|
(18, 'default_category', '1', 'yes'),
|
|
(19, 'default_comment_status', 'open', 'yes'),
|
|
(20, 'default_ping_status', 'open', 'yes'),
|
|
(21, 'default_pingback_flag', '1', 'yes'),
|
|
(22, 'posts_per_page', '10', 'yes'),
|
|
(23, 'date_format', 'j F Y', 'yes'),
|
|
(24, 'time_format', 'G\\hi', 'yes'),
|
|
(25, 'links_updated_date_format', 'd F Y G\\hi', 'yes'),
|
|
(26, 'comment_moderation', '0', 'yes'),
|
|
(27, 'moderation_notify', '1', 'yes'),
|
|
(28, 'permalink_structure', '/%postname%/', 'yes'),
|
|
(30, 'hack_file', '0', 'yes'),
|
|
(31, 'blog_charset', 'UTF-8', 'yes'),
|
|
(32, 'moderation_keys', '', 'no'),
|
|
(34, 'category_base', '', 'yes'),
|
|
(6159, '_transient_timeout_as-post-store-dependencies-met', '1646145794', 'no'),
|
|
(6160, '_transient_as-post-store-dependencies-met', 'yes', 'no'),
|
|
(6163, 'action_scheduler_migration_status', 'complete', 'yes');
|
|
|
|
-- --------------------------------------------------------
|
|
|
|
--
|
|
-- Structure de la table `passager`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `passager`;
|
|
CREATE TABLE `passager` (
|
|
`id_passager` int(11) NOT NULL,
|
|
`nom` varchar(255) NOT NULL,
|
|
`prenom` varchar(255) NOT NULL,
|
|
`age` int(11) NOT NULL,
|
|
`siege` varchar(4) NOT NULL,
|
|
`vol_id` int(11) NOT NULL
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
|
|
|
--
|
|
-- Déchargement des données de la table `passager`
|
|
--
|
|
|
|
INSERT INTO `passager` (`id_passager`, `nom`, `prenom`, `age`, `siege`, `vol_id`) VALUES
|
|
(1, 'Welma', 'Roucier', 68, 'b047', 1);
|
|
|
|
-- --------------------------------------------------------
|
|
|
|
--
|
|
-- Structure de la table `vol`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `vol`;
|
|
CREATE TABLE `vol` (
|
|
`id_vol` int(11) NOT NULL,
|
|
`de` varchar(255) NOT NULL,
|
|
`a` varchar(255) NOT NULL,
|
|
`via` varchar(255) NOT NULL,
|
|
`places` int(11) NOT NULL,
|
|
`reservations` int(11) NOT NULL
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
|
|
|
--
|
|
-- Déchargement des données de la table `vol`
|
|
--
|
|
|
|
INSERT INTO `vol` (`id_vol`, `de`, `a`, `via`, `places`, `reservations`) VALUES
|
|
(1, 'Prague', 'Cork', 'Rennes', 25, 11);
|
|
|
|
--
|
|
-- Index pour les tables déchargées
|
|
--
|
|
|
|
--
|
|
-- Index pour la table `option`
|
|
--
|
|
ALTER TABLE `option`
|
|
ADD PRIMARY KEY (`id_option`),
|
|
ADD UNIQUE KEY `option_name` (`option_name`),
|
|
ADD KEY `autoload` (`autoload`);
|
|
|
|
--
|
|
-- Index pour la table `passager`
|
|
--
|
|
ALTER TABLE `passager`
|
|
ADD PRIMARY KEY (`id_passager`);
|
|
|
|
--
|
|
-- Index pour la table `vol`
|
|
--
|
|
ALTER TABLE `vol`
|
|
ADD PRIMARY KEY (`id_vol`);
|
|
|
|
--
|
|
-- AUTO_INCREMENT pour les tables déchargées
|
|
--
|
|
|
|
--
|
|
-- AUTO_INCREMENT pour la table `option`
|
|
--
|
|
ALTER TABLE `option`
|
|
MODIFY `id_option` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=6164;
|
|
|
|
--
|
|
-- AUTO_INCREMENT pour la table `passager`
|
|
--
|
|
ALTER TABLE `passager`
|
|
MODIFY `id_passager` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;
|
|
|
|
--
|
|
-- AUTO_INCREMENT pour la table `vol`
|
|
--
|
|
ALTER TABLE `vol`
|
|
MODIFY `id_vol` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;
|
|
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 */;
|