Advertisement
Guest User

Untitled

a guest
Mar 27th, 2017
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.62 KB | None | 0 0
  1. -- phpMyAdmin SQL Dump
  2. -- version 4.6.5.2
  3. -- https://www.phpmyadmin.net/
  4. --
  5. -- Client : localhost:3306
  6. -- Généré le : Lun 27 Mars 2017 à 18:38
  7. -- Version du serveur : 5.6.35
  8. -- Version de PHP : 5.5.38
  9.  
  10. SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
  11. SET time_zone = "+00:00";
  12.  
  13. --
  14. -- Base de données : `esgi1i2`
  15. --
  16.  
  17. -- --------------------------------------------------------
  18.  
  19. --
  20. -- Structure de la table `users`
  21. --
  22.  
  23. CREATE TABLE `users` (
  24. `id` int(11) NOT NULL,
  25. `gender` char(1) NOT NULL,
  26. `name` varchar(50) NOT NULL,
  27. `surname` varchar(50) NOT NULL,
  28. `nickname` varchar(50) NOT NULL,
  29. `birthday` date NOT NULL,
  30. `email` varchar(100) NOT NULL,
  31. `pwd` char(60) NOT NULL,
  32. `country` char(2) NOT NULL,
  33. `is_deleted` tinyint(1) NOT NULL DEFAULT '0',
  34. `date_inserted` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  35. `date_updated` timestamp NULL DEFAULT NULL
  36. ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
  37.  
  38. --
  39. -- Contenu de la table `users`
  40. --
  41.  
  42. INSERT INTO `users` (`id`, `gender`, `name`, `surname`, `nickname`, `birthday`, `email`, `pwd`, `country`, `is_deleted`, `date_inserted`, `date_updated`) VALUES
  43. (3, 'm', 'skrzypczyk', 'yves', 'prof', '1980-12-31', 'y.skrzypczyk@gmail.com', '$2y$10$AfNL91HgJUrr7TlUEMItBuwJs5/vT4nyvsnO/gXweCAMEWIOYMaJq', 'fr', 0, '2017-02-27 10:12:35', NULL);
  44.  
  45. --
  46. -- Index pour les tables exportées
  47. --
  48.  
  49. --
  50. -- Index pour la table `users`
  51. --
  52. ALTER TABLE `users`
  53. ADD PRIMARY KEY (`id`);
  54.  
  55. --
  56. -- AUTO_INCREMENT pour les tables exportées
  57. --
  58.  
  59. --
  60. -- AUTO_INCREMENT pour la table `users`
  61. --
  62. ALTER TABLE `users`
  63. MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement