Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- phpMyAdmin SQL Dump
- -- version 4.5.4.1deb2ubuntu2
- -- http://www.phpmyadmin.net
- --
- -- Host: localhost
- -- Gegenereerd op: 14 mrt 2018 om 22:48
- -- Serverversie: 5.7.21-0ubuntu0.16.04.1
- -- PHP-versie: 7.0.25-0ubuntu0.16.04.1
- SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
- 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 */;
- --
- -- Database: `StudieAppDB`
- --
- -- --------------------------------------------------------
- --
- -- Tabelstructuur voor tabel `admins`
- --
- CREATE TABLE `admins` (
- `id` int(10) UNSIGNED NOT NULL,
- `name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
- `email` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
- `password` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
- `remember_token` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
- `created_at` timestamp NULL DEFAULT NULL,
- `updated_at` timestamp NULL DEFAULT NULL
- ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
- --
- -- Gegevens worden geëxporteerd voor tabel `admins`
- --
- INSERT INTO `admins` (`id`, `name`, `email`, `password`, `remember_token`, `created_at`, `updated_at`) VALUES
- (1, 'Elias', 'eliasabdelali@gmail.com', '$2y$10$5WO5DFwMznl4KsMIrcUw1.O3v.TzcutQGYElxt0kb1wregHeKMGHe', 'R7wbyta2shhm2jqIoDf2sQR0KaW2QTerYUNRios3MUt26EdgpNl7SUyDqaJC', '2018-03-13 15:28:10', '2018-03-13 15:28:10');
- -- --------------------------------------------------------
- --
- -- Tabelstructuur voor tabel `cijfers`
- --
- CREATE TABLE `cijfers` (
- `id` int(10) UNSIGNED NOT NULL,
- `user_id` int(11) NOT NULL,
- `module_id` int(11) NOT NULL,
- `cijfer` decimal(3,1) NOT NULL,
- `created_at` timestamp NULL DEFAULT NULL,
- `updated_at` timestamp NULL DEFAULT NULL
- ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
- --
- -- Gegevens worden geëxporteerd voor tabel `cijfers`
- --
- INSERT INTO `cijfers` (`id`, `user_id`, `module_id`, `cijfer`, `created_at`, `updated_at`) VALUES
- (1, 1, 7, '7.5', NULL, NULL),
- (2, 1, 5, '5.5', NULL, NULL),
- (3, 1, 1, '9.8', NULL, NULL),
- (4, 2, 2, '7.3', NULL, NULL),
- (5, 2, 6, '3.0', NULL, NULL),
- (6, 2, 1, '8.4', NULL, NULL),
- (7, 1, 1, '5.8', NULL, NULL);
- -- --------------------------------------------------------
- --
- -- Tabelstructuur voor tabel `migrations`
- --
- CREATE TABLE `migrations` (
- `id` int(10) UNSIGNED NOT NULL,
- `migration` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
- `batch` int(11) NOT NULL
- ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
- --
- -- Gegevens worden geëxporteerd voor tabel `migrations`
- --
- INSERT INTO `migrations` (`id`, `migration`, `batch`) VALUES
- (1, '2014_10_12_000000_create_users_table', 1),
- (2, '2014_10_12_100000_create_password_resets_table', 1),
- (3, '2018_03_13_002111_create_admins_table', 1),
- (4, '2018_03_13_182429_create_modules_table', 2),
- (6, '2018_03_13_183506_create_vaardigheids_table', 4),
- (7, '2018_03_13_183445_create_cijfers_table', 5);
- -- --------------------------------------------------------
- --
- -- Tabelstructuur voor tabel `modules`
- --
- CREATE TABLE `modules` (
- `id` int(10) UNSIGNED NOT NULL,
- `modulenaam` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
- `created_at` timestamp NULL DEFAULT NULL,
- `updated_at` timestamp NULL DEFAULT NULL
- ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
- --
- -- Gegevens worden geëxporteerd voor tabel `modules`
- --
- INSERT INTO `modules` (`id`, `modulenaam`, `created_at`, `updated_at`) VALUES
- (1, 'IARCH', NULL, NULL),
- (2, 'IWDR', NULL, NULL),
- (3, 'IPMEDT2', NULL, NULL),
- (4, 'IMTD1', NULL, NULL),
- (5, 'IPMEDT3', NULL, NULL),
- (6, 'IKUE', NULL, NULL),
- (7, 'IKGEO', NULL, NULL);
- -- --------------------------------------------------------
- --
- -- Tabelstructuur voor tabel `password_resets`
- --
- CREATE TABLE `password_resets` (
- `email` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
- `token` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
- `created_at` timestamp NULL DEFAULT NULL
- ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
- -- --------------------------------------------------------
- --
- -- Tabelstructuur voor tabel `users`
- --
- CREATE TABLE `users` (
- `id` int(10) UNSIGNED NOT NULL,
- `name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
- `email` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
- `password` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
- `remember_token` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
- `created_at` timestamp NULL DEFAULT NULL,
- `updated_at` timestamp NULL DEFAULT NULL
- ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
- --
- -- Gegevens worden geëxporteerd voor tabel `users`
- --
- INSERT INTO `users` (`id`, `name`, `email`, `password`, `remember_token`, `created_at`, `updated_at`) VALUES
- (1, 'Student 1', 'student1@gmail.com', '$2y$10$DMRsNo8Lq3b1QwkJugLNeeWKzm.07w5Xb3KIKZRku/1S2H7l01Ucu', 'Zv5gf8l6UGkVkODxXw75f64EJdIIGWOpcpQL5xwlL4LETNWop9VakJ21PBVK', '2018-03-13 17:43:08', '2018-03-13 17:43:08'),
- (2, 'Student 2', 'student2@gmail.com', '$2y$10$I6khQHHWE7DlWZRsSvxsMOdPKOjE7fOoH0gyo8MBZi6SpnsNnT7Be', '5GxWVJdWEKcn4B4X3WLblC236ZmZ2XASKywxr01zldBmbDfiLwoCsV8fJZPJ', '2018-03-13 17:43:27', '2018-03-13 17:43:27'),
- (3, 'Elias', 'alien_attack@live.nl', '$2y$10$1ZxWMoazSPeb6vY58CNoNexJ/OYCokxsuyvQtmDPiORRBc53N7Kfi', NULL, '2018-03-12 23:43:46', '2018-03-12 23:43:46');
- -- --------------------------------------------------------
- --
- -- Tabelstructuur voor tabel `vaardigheids`
- --
- CREATE TABLE `vaardigheids` (
- `id` int(10) UNSIGNED NOT NULL,
- `module_id` int(11) NOT NULL,
- `vaardigheid` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
- `created_at` timestamp NULL DEFAULT NULL,
- `updated_at` timestamp NULL DEFAULT NULL
- ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
- --
- -- Gegevens worden geëxporteerd voor tabel `vaardigheids`
- --
- INSERT INTO `vaardigheids` (`id`, `module_id`, `vaardigheid`, `created_at`, `updated_at`) VALUES
- (1, 7, 'Student leert xyz', NULL, NULL),
- (2, 6, 'Student leert xyz', NULL, NULL),
- (3, 5, 'Student leert xyz', NULL, NULL),
- (4, 4, 'Student leert xyz', NULL, NULL),
- (5, 3, 'Student leert xyz', NULL, NULL),
- (6, 2, 'Student leert xyz', NULL, NULL),
- (7, 1, 'Student leert xyz', NULL, NULL),
- (8, 1, 'Student leert abc', NULL, NULL);
- --
- -- Indexen voor geëxporteerde tabellen
- --
- --
- -- Indexen voor tabel `admins`
- --
- ALTER TABLE `admins`
- ADD PRIMARY KEY (`id`),
- ADD UNIQUE KEY `admins_email_unique` (`email`);
- --
- -- Indexen voor tabel `cijfers`
- --
- ALTER TABLE `cijfers`
- ADD PRIMARY KEY (`id`);
- --
- -- Indexen voor tabel `migrations`
- --
- ALTER TABLE `migrations`
- ADD PRIMARY KEY (`id`);
- --
- -- Indexen voor tabel `modules`
- --
- ALTER TABLE `modules`
- ADD PRIMARY KEY (`id`);
- --
- -- Indexen voor tabel `password_resets`
- --
- ALTER TABLE `password_resets`
- ADD KEY `password_resets_email_index` (`email`);
- --
- -- Indexen voor tabel `users`
- --
- ALTER TABLE `users`
- ADD PRIMARY KEY (`id`),
- ADD UNIQUE KEY `users_email_unique` (`email`);
- --
- -- Indexen voor tabel `vaardigheids`
- --
- ALTER TABLE `vaardigheids`
- ADD PRIMARY KEY (`id`);
- --
- -- AUTO_INCREMENT voor geëxporteerde tabellen
- --
- --
- -- AUTO_INCREMENT voor een tabel `admins`
- --
- ALTER TABLE `admins`
- MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;
- --
- -- AUTO_INCREMENT voor een tabel `cijfers`
- --
- ALTER TABLE `cijfers`
- MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=8;
- --
- -- AUTO_INCREMENT voor een tabel `migrations`
- --
- ALTER TABLE `migrations`
- MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=8;
- --
- -- AUTO_INCREMENT voor een tabel `modules`
- --
- ALTER TABLE `modules`
- MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=8;
- --
- -- AUTO_INCREMENT voor een tabel `users`
- --
- ALTER TABLE `users`
- MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4;
- --
- -- AUTO_INCREMENT voor een tabel `vaardigheids`
- --
- ALTER TABLE `vaardigheids`
- MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=9;
- /*!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 */;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement