Advertisement
Guest User

Untitled

a guest
Mar 14th, 2018
253
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.42 KB | None | 0 0
  1. -- phpMyAdmin SQL Dump
  2. -- version 4.5.4.1deb2ubuntu2
  3. -- http://www.phpmyadmin.net
  4. --
  5. -- Host: localhost
  6. -- Gegenereerd op: 14 mrt 2018 om 22:48
  7. -- Serverversie: 5.7.21-0ubuntu0.16.04.1
  8. -- PHP-versie: 7.0.25-0ubuntu0.16.04.1
  9.  
  10. SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
  11. SET time_zone = "+00:00";
  12.  
  13.  
  14. /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
  15. /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
  16. /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
  17. /*!40101 SET NAMES utf8mb4 */;
  18.  
  19. --
  20. -- Database: `StudieAppDB`
  21. --
  22.  
  23. -- --------------------------------------------------------
  24.  
  25. --
  26. -- Tabelstructuur voor tabel `admins`
  27. --
  28.  
  29. CREATE TABLE `admins` (
  30. `id` int(10) UNSIGNED NOT NULL,
  31. `name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  32. `email` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  33. `password` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  34. `remember_token` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  35. `created_at` timestamp NULL DEFAULT NULL,
  36. `updated_at` timestamp NULL DEFAULT NULL
  37. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
  38.  
  39. --
  40. -- Gegevens worden geëxporteerd voor tabel `admins`
  41. --
  42.  
  43. INSERT INTO `admins` (`id`, `name`, `email`, `password`, `remember_token`, `created_at`, `updated_at`) VALUES
  44. (1, 'Elias', 'eliasabdelali@gmail.com', '$2y$10$5WO5DFwMznl4KsMIrcUw1.O3v.TzcutQGYElxt0kb1wregHeKMGHe', 'R7wbyta2shhm2jqIoDf2sQR0KaW2QTerYUNRios3MUt26EdgpNl7SUyDqaJC', '2018-03-13 15:28:10', '2018-03-13 15:28:10');
  45.  
  46. -- --------------------------------------------------------
  47.  
  48. --
  49. -- Tabelstructuur voor tabel `cijfers`
  50. --
  51.  
  52. CREATE TABLE `cijfers` (
  53. `id` int(10) UNSIGNED NOT NULL,
  54. `user_id` int(11) NOT NULL,
  55. `module_id` int(11) NOT NULL,
  56. `cijfer` decimal(3,1) NOT NULL,
  57. `created_at` timestamp NULL DEFAULT NULL,
  58. `updated_at` timestamp NULL DEFAULT NULL
  59. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
  60.  
  61. --
  62. -- Gegevens worden geëxporteerd voor tabel `cijfers`
  63. --
  64.  
  65. INSERT INTO `cijfers` (`id`, `user_id`, `module_id`, `cijfer`, `created_at`, `updated_at`) VALUES
  66. (1, 1, 7, '7.5', NULL, NULL),
  67. (2, 1, 5, '5.5', NULL, NULL),
  68. (3, 1, 1, '9.8', NULL, NULL),
  69. (4, 2, 2, '7.3', NULL, NULL),
  70. (5, 2, 6, '3.0', NULL, NULL),
  71. (6, 2, 1, '8.4', NULL, NULL),
  72. (7, 1, 1, '5.8', NULL, NULL);
  73.  
  74. -- --------------------------------------------------------
  75.  
  76. --
  77. -- Tabelstructuur voor tabel `migrations`
  78. --
  79.  
  80. CREATE TABLE `migrations` (
  81. `id` int(10) UNSIGNED NOT NULL,
  82. `migration` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  83. `batch` int(11) NOT NULL
  84. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
  85.  
  86. --
  87. -- Gegevens worden geëxporteerd voor tabel `migrations`
  88. --
  89.  
  90. INSERT INTO `migrations` (`id`, `migration`, `batch`) VALUES
  91. (1, '2014_10_12_000000_create_users_table', 1),
  92. (2, '2014_10_12_100000_create_password_resets_table', 1),
  93. (3, '2018_03_13_002111_create_admins_table', 1),
  94. (4, '2018_03_13_182429_create_modules_table', 2),
  95. (6, '2018_03_13_183506_create_vaardigheids_table', 4),
  96. (7, '2018_03_13_183445_create_cijfers_table', 5);
  97.  
  98. -- --------------------------------------------------------
  99.  
  100. --
  101. -- Tabelstructuur voor tabel `modules`
  102. --
  103.  
  104. CREATE TABLE `modules` (
  105. `id` int(10) UNSIGNED NOT NULL,
  106. `modulenaam` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  107. `created_at` timestamp NULL DEFAULT NULL,
  108. `updated_at` timestamp NULL DEFAULT NULL
  109. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
  110.  
  111. --
  112. -- Gegevens worden geëxporteerd voor tabel `modules`
  113. --
  114.  
  115. INSERT INTO `modules` (`id`, `modulenaam`, `created_at`, `updated_at`) VALUES
  116. (1, 'IARCH', NULL, NULL),
  117. (2, 'IWDR', NULL, NULL),
  118. (3, 'IPMEDT2', NULL, NULL),
  119. (4, 'IMTD1', NULL, NULL),
  120. (5, 'IPMEDT3', NULL, NULL),
  121. (6, 'IKUE', NULL, NULL),
  122. (7, 'IKGEO', NULL, NULL);
  123.  
  124. -- --------------------------------------------------------
  125.  
  126. --
  127. -- Tabelstructuur voor tabel `password_resets`
  128. --
  129.  
  130. CREATE TABLE `password_resets` (
  131. `email` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  132. `token` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  133. `created_at` timestamp NULL DEFAULT NULL
  134. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
  135.  
  136. -- --------------------------------------------------------
  137.  
  138. --
  139. -- Tabelstructuur voor tabel `users`
  140. --
  141.  
  142. CREATE TABLE `users` (
  143. `id` int(10) UNSIGNED NOT NULL,
  144. `name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  145. `email` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  146. `password` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  147. `remember_token` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  148. `created_at` timestamp NULL DEFAULT NULL,
  149. `updated_at` timestamp NULL DEFAULT NULL
  150. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
  151.  
  152. --
  153. -- Gegevens worden geëxporteerd voor tabel `users`
  154. --
  155.  
  156. INSERT INTO `users` (`id`, `name`, `email`, `password`, `remember_token`, `created_at`, `updated_at`) VALUES
  157. (1, 'Student 1', 'student1@gmail.com', '$2y$10$DMRsNo8Lq3b1QwkJugLNeeWKzm.07w5Xb3KIKZRku/1S2H7l01Ucu', 'Zv5gf8l6UGkVkODxXw75f64EJdIIGWOpcpQL5xwlL4LETNWop9VakJ21PBVK', '2018-03-13 17:43:08', '2018-03-13 17:43:08'),
  158. (2, 'Student 2', 'student2@gmail.com', '$2y$10$I6khQHHWE7DlWZRsSvxsMOdPKOjE7fOoH0gyo8MBZi6SpnsNnT7Be', '5GxWVJdWEKcn4B4X3WLblC236ZmZ2XASKywxr01zldBmbDfiLwoCsV8fJZPJ', '2018-03-13 17:43:27', '2018-03-13 17:43:27'),
  159. (3, 'Elias', 'alien_attack@live.nl', '$2y$10$1ZxWMoazSPeb6vY58CNoNexJ/OYCokxsuyvQtmDPiORRBc53N7Kfi', NULL, '2018-03-12 23:43:46', '2018-03-12 23:43:46');
  160.  
  161. -- --------------------------------------------------------
  162.  
  163. --
  164. -- Tabelstructuur voor tabel `vaardigheids`
  165. --
  166.  
  167. CREATE TABLE `vaardigheids` (
  168. `id` int(10) UNSIGNED NOT NULL,
  169. `module_id` int(11) NOT NULL,
  170. `vaardigheid` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  171. `created_at` timestamp NULL DEFAULT NULL,
  172. `updated_at` timestamp NULL DEFAULT NULL
  173. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
  174.  
  175. --
  176. -- Gegevens worden geëxporteerd voor tabel `vaardigheids`
  177. --
  178.  
  179. INSERT INTO `vaardigheids` (`id`, `module_id`, `vaardigheid`, `created_at`, `updated_at`) VALUES
  180. (1, 7, 'Student leert xyz', NULL, NULL),
  181. (2, 6, 'Student leert xyz', NULL, NULL),
  182. (3, 5, 'Student leert xyz', NULL, NULL),
  183. (4, 4, 'Student leert xyz', NULL, NULL),
  184. (5, 3, 'Student leert xyz', NULL, NULL),
  185. (6, 2, 'Student leert xyz', NULL, NULL),
  186. (7, 1, 'Student leert xyz', NULL, NULL),
  187. (8, 1, 'Student leert abc', NULL, NULL);
  188.  
  189. --
  190. -- Indexen voor geëxporteerde tabellen
  191. --
  192.  
  193. --
  194. -- Indexen voor tabel `admins`
  195. --
  196. ALTER TABLE `admins`
  197. ADD PRIMARY KEY (`id`),
  198. ADD UNIQUE KEY `admins_email_unique` (`email`);
  199.  
  200. --
  201. -- Indexen voor tabel `cijfers`
  202. --
  203. ALTER TABLE `cijfers`
  204. ADD PRIMARY KEY (`id`);
  205.  
  206. --
  207. -- Indexen voor tabel `migrations`
  208. --
  209. ALTER TABLE `migrations`
  210. ADD PRIMARY KEY (`id`);
  211.  
  212. --
  213. -- Indexen voor tabel `modules`
  214. --
  215. ALTER TABLE `modules`
  216. ADD PRIMARY KEY (`id`);
  217.  
  218. --
  219. -- Indexen voor tabel `password_resets`
  220. --
  221. ALTER TABLE `password_resets`
  222. ADD KEY `password_resets_email_index` (`email`);
  223.  
  224. --
  225. -- Indexen voor tabel `users`
  226. --
  227. ALTER TABLE `users`
  228. ADD PRIMARY KEY (`id`),
  229. ADD UNIQUE KEY `users_email_unique` (`email`);
  230.  
  231. --
  232. -- Indexen voor tabel `vaardigheids`
  233. --
  234. ALTER TABLE `vaardigheids`
  235. ADD PRIMARY KEY (`id`);
  236.  
  237. --
  238. -- AUTO_INCREMENT voor geëxporteerde tabellen
  239. --
  240.  
  241. --
  242. -- AUTO_INCREMENT voor een tabel `admins`
  243. --
  244. ALTER TABLE `admins`
  245. MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;
  246. --
  247. -- AUTO_INCREMENT voor een tabel `cijfers`
  248. --
  249. ALTER TABLE `cijfers`
  250. MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=8;
  251. --
  252. -- AUTO_INCREMENT voor een tabel `migrations`
  253. --
  254. ALTER TABLE `migrations`
  255. MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=8;
  256. --
  257. -- AUTO_INCREMENT voor een tabel `modules`
  258. --
  259. ALTER TABLE `modules`
  260. MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=8;
  261. --
  262. -- AUTO_INCREMENT voor een tabel `users`
  263. --
  264. ALTER TABLE `users`
  265. MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4;
  266. --
  267. -- AUTO_INCREMENT voor een tabel `vaardigheids`
  268. --
  269. ALTER TABLE `vaardigheids`
  270. MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=9;
  271. /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
  272. /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
  273. /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement