db.sql 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. -- phpMyAdmin SQL Dump
  2. -- version 3.4.10.1deb1
  3. -- http://www.phpmyadmin.net
  4. --
  5. -- Client: localhost
  6. -- Généré le : Mer 01 Juillet 2015 à 16:38
  7. -- Version du serveur: 5.5.43
  8. -- Version de PHP: 5.6.10-1+deb.sury.org~precise+1
  9. SET SQL_MODE="NO_AUTO_VALUE_ON_ZERO";
  10. SET time_zone = "+00:00";
  11. /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
  12. /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
  13. /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
  14. /*!40101 SET NAMES utf8 */;
  15. --
  16. -- Base de données: `goweb_social_network`
  17. --
  18. -- --------------------------------------------------------
  19. --
  20. -- Structure de la table `user`
  21. --
  22. DROP TABLE IF EXISTS `users`;
  23. CREATE TABLE IF NOT EXISTS `users` (
  24. `user_id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  25. `user_nickname` varchar(32) NOT NULL,
  26. `user_first` varchar(32) NOT NULL,
  27. `user_last` varchar(32) NOT NULL,
  28. `user_email` varchar(128) NOT NULL,
  29. PRIMARY KEY (`user_id`),
  30. UNIQUE KEY `user_nickname` (`user_nickname`)
  31. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 AUTO_INCREMENT=3 ;
  32. /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
  33. /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
  34. /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;