Advertisement
Guest User

Untitled

a guest
Apr 24th, 2019
142
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.74 KB | None | 0 0
  1. -- phpMyAdmin SQL Dump
  2. -- version 4.8.3
  3. -- https://www.phpmyadmin.net/
  4. --
  5. -- Host: localhost:8889
  6. -- Generation Time: Apr 24, 2019 at 02:50 PM
  7. -- Server version: 5.7.23
  8. -- PHP Version: 7.2.10
  9.  
  10. SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
  11. SET time_zone = "+00:00";
  12.  
  13. --
  14. -- Database: `projet_annuel`
  15. --
  16.  
  17. -- --------------------------------------------------------
  18.  
  19. --
  20. -- Table structure for table `ENTREPRISE`
  21. --
  22.  
  23. CREATE TABLE `ENTREPRISE` (
  24. `id_entreprise` int(11) NOT NULL,
  25. `email_entreprise` varchar(75) NOT NULL,
  26. `password` varchar(550) NOT NULL,
  27. `nom_entreprise` varchar(100) NOT NULL,
  28. `statut` varchar(100) NOT NULL,
  29. `adresse` varchar(200) NOT NULL,
  30. `description` varchar(300) DEFAULT NULL,
  31. `numero_siret` varchar(15) NOT NULL
  32. ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
  33.  
  34. --
  35. -- Dumping data for table `ENTREPRISE`
  36. --
  37.  
  38. INSERT INTO `ENTREPRISE` (`id_entreprise`, `email_entreprise`, `password`, `nom_entreprise`, `statut`, `adresse`, `description`, `numero_siret`) VALUES
  39. (4, 'enefef@gmail.com', 'mdmdm', 'test', 'sasn', 'adresse', NULL, 'nnnnnnnnnnnnnn');
  40.  
  41. -- --------------------------------------------------------
  42.  
  43. --
  44. -- Table structure for table `INDIVIDU`
  45. --
  46.  
  47. CREATE TABLE `INDIVIDU` (
  48. `id_individu` int(11) NOT NULL,
  49. `date_naissance` date DEFAULT NULL,
  50. `email_individu` varchar(75) NOT NULL,
  51. `password` varchar(450) NOT NULL,
  52. `nom` varchar(50) NOT NULL,
  53. `prenom` varchar(50) NOT NULL,
  54. `niveau_etudes` text NOT NULL,
  55. `experiences` text,
  56. `project` text,
  57. `centres_interets` text,
  58. `sexe` int(11) NOT NULL
  59. ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
  60.  
  61. --
  62. -- Dumping data for table `INDIVIDU`
  63. --
  64.  
  65. INSERT INTO `INDIVIDU` (`id_individu`, `date_naissance`, `email_individu`, `password`, `nom`, `prenom`, `niveau_etudes`, `experiences`, `project`, `centres_interets`, `sexe`) VALUES
  66. (25, NULL, 'test@gmaddil.com', 'moeo', 'testnn', 'teste', 'sans_bac', NULL, NULL, NULL, 1),
  67. (26, NULL, 'testdd@gmail.com', 'moeo', 'test', 'test', 'bac12', NULL, NULL, NULL, 1),
  68. (27, NULL, 'tddddest@gmail.com', 'moeo', 'test', 'test', 'bac', NULL, NULL, NULL, 1);
  69.  
  70. -- --------------------------------------------------------
  71.  
  72. --
  73. -- Table structure for table `QUESTION`
  74. --
  75.  
  76. CREATE TABLE `QUESTION` (
  77. `id_question` int(11) NOT NULL,
  78. `question` varchar(500) NOT NULL
  79. ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
  80.  
  81. --
  82. -- Dumping data for table `QUESTION`
  83. --
  84.  
  85. INSERT INTO `QUESTION` (`id_question`, `question`) VALUES
  86. (2, 'Le matin votre objectif est de ...:'),
  87. (3, 'Votre patron vous annonce à la dernière minute qu’il y a une réunion importante demain. Votre réaction :'),
  88. (5, 'L’essentiel pour vous d’une entreprise :');
  89.  
  90. -- --------------------------------------------------------
  91.  
  92. --
  93. -- Table structure for table `REPONSE`
  94. --
  95.  
  96. CREATE TABLE `REPONSE` (
  97. `id_reponse` int(11) NOT NULL,
  98. `reponse` text NOT NULL,
  99. `fk_id_question` int(11) NOT NULL
  100. ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
  101.  
  102. --
  103. -- Dumping data for table `REPONSE`
  104. --
  105.  
  106. INSERT INTO `REPONSE` (`id_reponse`, `reponse`, `fk_id_question`) VALUES
  107. (1, 'Affirmer votre personnalité. Votre style reflète votre personnalité audacieuse et spontané', 2),
  108. (2, 'Être confortable et simple. L\'essentiel pour vous ne se trouve pas dans l\'apparence', 2),
  109. (3, 'Élegant et professionnel. Donner une bonne image de vus est essentiel.', 2),
  110. (4, 'Laisser libre cours à votre imagination, tout dépend de votre humeur.', 2),
  111. (5, 'Vous préférez penser à autre chose, vous décontracter et profiter de votre soirée', 3),
  112. (6, 'Vous vous demandez quel est le motif de la réunion et prenez ça à coeur. ', 3),
  113. (7, 'Sûr de vous, vous ne cédez pas à la panique, vous verrez demain. ', 3),
  114. (8, 'Vous vous préparez mentalement à la journée de demain en vous penchant sur le motif de la réunion.', 3),
  115. (13, 'Son évolution. Être dans une entreprise innovante en plein essor est essentiel pour vous. Vous avez soif de challenge et ne supportez pas la routine. ', 5),
  116. (14, 'L’ambiance entre collègues. Pour vous plaisanter, rire et partager des bons moments avec ses collègues est essentiel.', 5),
  117. (15, 'Son éthique. Leader altruiste dans l’âme il est primordial pour vous que l’entreprise et vous ayez les mêmes valeurs, dans le but de garantir un avenir prometteur', 5),
  118. (16, 'Son efficacité. Leaders hardis dotés d’un fort caractère pour vous rien n’est plus gratifiant que d’exceller dans votre boulot. ', 5);
  119.  
  120. --
  121. -- Indexes for dumped tables
  122. --
  123.  
  124. --
  125. -- Indexes for table `ENTREPRISE`
  126. --
  127. ALTER TABLE `ENTREPRISE`
  128. ADD PRIMARY KEY (`id_entreprise`);
  129.  
  130. --
  131. -- Indexes for table `INDIVIDU`
  132. --
  133. ALTER TABLE `INDIVIDU`
  134. ADD PRIMARY KEY (`id_individu`);
  135.  
  136. --
  137. -- Indexes for table `QUESTION`
  138. --
  139. ALTER TABLE `QUESTION`
  140. ADD PRIMARY KEY (`id_question`);
  141.  
  142. --
  143. -- Indexes for table `REPONSE`
  144. --
  145. ALTER TABLE `REPONSE`
  146. ADD PRIMARY KEY (`id_reponse`),
  147. ADD KEY `fk_id_question` (`fk_id_question`);
  148.  
  149. --
  150. -- AUTO_INCREMENT for dumped tables
  151. --
  152.  
  153. --
  154. -- AUTO_INCREMENT for table `ENTREPRISE`
  155. --
  156. ALTER TABLE `ENTREPRISE`
  157. MODIFY `id_entreprise` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5;
  158.  
  159. --
  160. -- AUTO_INCREMENT for table `INDIVIDU`
  161. --
  162. ALTER TABLE `INDIVIDU`
  163. MODIFY `id_individu` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=28;
  164.  
  165. --
  166. -- AUTO_INCREMENT for table `QUESTION`
  167. --
  168. ALTER TABLE `QUESTION`
  169. MODIFY `id_question` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=6;
  170.  
  171. --
  172. -- AUTO_INCREMENT for table `REPONSE`
  173. --
  174. ALTER TABLE `REPONSE`
  175. MODIFY `id_reponse` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=17;
  176.  
  177. --
  178. -- Constraints for dumped tables
  179. --
  180.  
  181. --
  182. -- Constraints for table `REPONSE`
  183. --
  184. ALTER TABLE `REPONSE`
  185. ADD CONSTRAINT `reponse_ibfk_1` FOREIGN KEY (`fk_id_question`) REFERENCES `QUESTION` (`id_question`);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement