61 lines
1.4 KiB
MySQL
61 lines
1.4 KiB
MySQL
|
-- phpMyAdmin SQL Dump
|
||
|
-- version 4.9.2
|
||
|
-- https://www.phpmyadmin.net/
|
||
|
--
|
||
|
-- Hôte : localhost
|
||
|
-- Généré le : lun. 11 mai 2020 à 15:56
|
||
|
-- Version du serveur : 10.4.11-MariaDB
|
||
|
-- Version de PHP : 7.4.1
|
||
|
|
||
|
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 : `chat`
|
||
|
--
|
||
|
|
||
|
-- --------------------------------------------------------
|
||
|
|
||
|
--
|
||
|
-- Structure de la table `message`
|
||
|
--
|
||
|
|
||
|
CREATE TABLE `message` (
|
||
|
`id` int(11) NOT NULL,
|
||
|
`pseudo` varchar(10) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||
|
`message` text COLLATE utf8mb4_unicode_ci NOT NULL
|
||
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
|
|
||
|
--
|
||
|
-- Index pour les tables déchargées
|
||
|
--
|
||
|
|
||
|
--
|
||
|
-- Index pour la table `message`
|
||
|
--
|
||
|
ALTER TABLE `message`
|
||
|
ADD PRIMARY KEY (`id`);
|
||
|
|
||
|
--
|
||
|
-- AUTO_INCREMENT pour les tables déchargées
|
||
|
--
|
||
|
|
||
|
--
|
||
|
-- AUTO_INCREMENT pour la table `message`
|
||
|
--
|
||
|
ALTER TABLE `message`
|
||
|
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;
|
||
|
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 */;
|