text: -- phpMyAdmin SQL Dump
  -- version 4.7.4
  -- https://www.phpmyadmin.net/
  --
  -- Hôte : 127.0.0.1:3306
  -- Généré le :  mer. 21 fév. 2018 à 14:50
  -- 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 :  `tchat`
  --
  
  -- --------------------------------------------------------
  
  --
  -- Structure de la table `messages`
  --
  
  DROP TABLE IF EXISTS `messages`;
  CREATE TABLE IF NOT EXISTS `messages` (
    `id` int(11) NOT NULL AUTO_INCREMENT,
    `message` longtext COLLATE utf8_unicode_ci NOT NULL,
    `created_at` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
    `sender` int(11) DEFAULT NULL,
    PRIMARY KEY (`id`)
  ) ENGINE=InnoDB AUTO_INCREMENT=7 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
  
  --
  -- Déchargement des données de la table `messages`
  --
  
  INSERT INTO `messages` (`id`, `message`, `created_at`, `sender`) VALUES
  (1, 'ergrgergerg', '2018-02-21 14:35:43', 9),
  (2, 'zdcczc', '2018-02-21 14:36:37', 9),
  (3, 'zdczc', '2018-02-21 14:37:12', 9),
  (4, 'fzfze', '2018-02-21 14:37:38', 9),
  (5, 'rbtbrbr', '2018-02-21 14:48:36', 9),
  (6, 'brtbrtbr', '2018-02-21 14:48:38', 9);
  
  -- --------------------------------------------------------
  
  --
  -- Structure de la table `user`
  --
  
  DROP TABLE IF EXISTS `user`;
  CREATE TABLE IF NOT EXISTS `user` (
    `id` int(11) NOT NULL AUTO_INCREMENT,
    `email` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
    `pwd` varchar(255) COLLATE utf8_unicode_ci NOT NULL COMMENT 'Mot de passe',
    `created_at` datetime NOT NULL,
    PRIMARY KEY (`id`)
  ) ENGINE=InnoDB AUTO_INCREMENT=11 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
  
  --
  -- Déchargement des données de la table `user`
  --
  
  INSERT INTO `user` (`id`, `email`, `pwd`, `created_at`) VALUES
  (9, 'lol@mail.ru', '@tquKh5mlPpWo', '2018-02-21 10:16:57'),
  (10, 'test2@mail.ru', '@tquKh5mlPpWo', '2018-02-21 10:17:20');
  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 */;
  