-- phpMyAdmin SQL Dump
-- version 4.5.1
-- http://www.phpmyadmin.net
--
-- Host: 127.0.0.1
-- Generation Time: Jan 31, 2017 at 02:57 AM
-- Server version: 10.1.16-MariaDB
-- PHP Version: 7.0.9

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: `ide_project`
--

-- --------------------------------------------------------

--
-- Table structure for table `migrations`
--

CREATE TABLE `migrations` (
  `migration` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `batch` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `migrations`
--

INSERT INTO `migrations` (`migration`, `batch`) VALUES
('2014_10_12_000000_create_users_table', 1),
('2014_10_12_100000_create_password_resets_table', 1),
('2016_09_05_042427_buat_table_dosen', 1),
('2016_09_05_082747_buat_tabel_mhs', 1),
('2016_09_06_130023_buat_tabel_mk', 1),
('2016_09_09_030257_buat_tabel_ruang', 1),
('2016_09_09_034324_buat_tabel_jadwal', 1),
('2016_09_11_033152_buat_tabel_thnajaran', 1),
('2016_09_13_054409_buat_tabel_krs', 1),
('2016_09_13_073007_buat_table_krs_detil', 1),
('2016_09_13_073547_buat_tabel_nilai', 1),
('2016_09_15_025204_buat_tabel_bobot', 1),
('2017_01_12_232938_create_books_table', 2),
('2017_01_13_003134_create_seebooks_table', 3),
('2017_01_13_174234_create_upload_tables', 4),
('2017_01_13_191608_create_uploads_tables', 5),
('2017_01_13_191641_create_upload_tables', 5),
('2017_01_19_013901_create_tblMahasiswa_table', 6),
('2017_01_19_014213_drop_tblMahasiswa_table', 7),
('2017_01_19_014425_create_tabelMahasiswa_table', 8);

-- --------------------------------------------------------

--
-- Table structure for table `password_resets`
--

CREATE TABLE `password_resets` (
  `email` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `token` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

-- --------------------------------------------------------

--
-- Table structure for table `tbl_book`
--

CREATE TABLE `tbl_book` (
  `id` int(10) UNSIGNED NOT NULL,
  `nama_buku` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `penulis` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `isbn` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `tbl_book`
--

INSERT INTO `tbl_book` (`id`, `nama_buku`, `penulis`, `isbn`, `deleted_at`, `created_at`, `updated_at`) VALUES
(1, 'Framwork Laravel', 'Indra Manik', '12.18', NULL, '2017-01-13 08:09:20', '2017-01-31 07:58:41'),
(8, 'Laptop', 'Leo', '56.70', NULL, '2017-01-19 10:04:05', '2017-01-20 11:59:55'),
(9, 'Cara efesien membuat nasi kuning', 'Sari Siahaan', '87.61', NULL, '2017-01-20 11:59:31', '2017-01-20 12:00:02');

-- --------------------------------------------------------

--
-- Table structure for table `tbl_mahasiswa`
--

CREATE TABLE `tbl_mahasiswa` (
  `id` int(10) UNSIGNED NOT NULL,
  `nim` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `nama_mahasiswa` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `angkatan` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `jurusan` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `user_id` int(11) NOT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `tbl_mahasiswa`
--

INSERT INTO `tbl_mahasiswa` (`id`, `nim`, `nama_mahasiswa`, `angkatan`, `jurusan`, `user_id`, `deleted_at`, `created_at`, `updated_at`) VALUES
(2, '11315017', 'Leo Pakpahan', '2015', 'Teknik Informatika', 72, NULL, '2017-01-20 07:47:37', '2017-01-20 07:47:37'),
(3, '11315005', 'Indra Manik', '2015', 'S1 Bioproses', 73, NULL, '2017-01-20 07:53:52', '2017-01-20 07:53:52'),
(4, '11315004', 'Sari Siahaan', '2015', 'D3 Teknik Informatika', 74, NULL, '2017-01-20 12:00:59', '2017-01-20 12:00:59'),
(5, '11315000', 'Della SItungkir', '2019', 'S1 Bioproses', 75, NULL, '2017-01-30 13:09:59', '2017-01-30 13:09:59'),
(6, '1234567', 'Raynold Aritonang', '2015', 'S1 Sistem Informasi', 76, NULL, '2017-01-30 16:25:02', '2017-01-30 16:25:02'),
(7, '11313131', 'Manasye Adel Sitepu', '2019', 'D3 Teknik Komputer', 77, NULL, '2017-01-31 07:25:22', '2017-01-31 07:25:22'),
(8, '14414141', 'Oppo Sitinjak', '2018', 'S1 Manajemen Rekayasa', 78, NULL, '2017-01-31 08:06:11', '2017-01-31 08:06:11'),
(9, '23456', 'asdasd', '2015', 'D3 Teknik Informatika', 79, NULL, '2017-01-31 08:24:01', '2017-01-31 08:24:01');

-- --------------------------------------------------------

--
-- Table structure for table `upload`
--

CREATE TABLE `upload` (
  `id` int(10) UNSIGNED NOT NULL,
  `nama` varchar(225) COLLATE utf8_unicode_ci NOT NULL,
  `filename` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `mime` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `original_filename` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `upload`
--

INSERT INTO `upload` (`id`, `nama`, `filename`, `mime`, `original_filename`, `created_at`, `updated_at`) VALUES
(28, '', 'php1AD2.tmp.pptx', 'application/vnd.openxmlformats-officedocument.presentationml.presentation', 'IF321314-IF421314_W05S01-ClassRelationship Polymorphism.pptx', '2017-01-20 07:03:14', '2017-01-20 07:03:14'),
(29, '', 'php6830.tmp.pptx', 'application/vnd.openxmlformats-officedocument.presentationml.presentation', 'IF321314-IF421314_W06S01-Interface _Abstract Nested_Class.pptx', '2017-01-20 07:09:01', '2017-01-20 07:09:01'),
(30, '', 'php1605.tmp.pptx', 'application/vnd.openxmlformats-officedocument.presentationml.presentation', 'IF321314-IF421314_W07S01-Enum Annotation.pptx', '2017-01-20 11:57:02', '2017-01-20 11:57:02'),
(32, '', 'phpF7FC.tmp.pdf', 'application/pdf', 'PBO_w09s03_ExceptionHandling.pdf', '2017-01-30 13:06:10', '2017-01-30 13:06:10'),
(34, '', 'php752A.tmp.docx', 'application/vnd.openxmlformats-officedocument.wordprocessingml.document', 'Business Intelligence.docx', '2017-01-31 07:20:55', '2017-01-31 07:20:55'),
(36, '', 'php901.tmp.docx', 'application/vnd.openxmlformats-officedocument.wordprocessingml.document', 'Jawaban dari sesi pertanyaan yang dilakukan Kelompok E pada Sesi 1.docx', '2017-01-31 08:00:52', '2017-01-31 08:00:52'),
(37, '', 'phpFD09.tmp.docx', 'application/vnd.openxmlformats-officedocument.wordprocessingml.document', 'Schema.docx', '2017-01-31 08:08:27', '2017-01-31 08:08:27');

-- --------------------------------------------------------

--
-- Table structure for table `users`
--

CREATE TABLE `users` (
  `id` int(10) UNSIGNED NOT NULL,
  `username` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `password` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `role` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `remember_token` varchar(100) COLLATE utf8_unicode_ci DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `users`
--

INSERT INTO `users` (`id`, `username`, `password`, `role`, `remember_token`, `created_at`, `updated_at`) VALUES
(1, 'admin', '$2y$10$RJR5LquPMiC9jMfBAPigTeUUTzTzOH3Im48l8JnGZ2MOlOZPgc2X6', 'admin', 'Ii0ZBE7c6aIkxigu8MZ9qjUARUNfaGMv33yGGQwF3PCdlo0MMupPDctSQyKq', '2017-01-13 07:06:23', '2017-01-31 08:24:05'),
(71, '56789', '$2y$10$m5XetU5mFq7SaEiY5FdnIeY6Y6geiVH8ztIqQ8c5LjurJUdeBjYfm', 'mahasiswa', '034iGVqTOChqQR5QTuvMOZcZQoMtZL1tXmGRaYOB29hQ3qZym88oaqC7F87F', '2017-01-19 09:45:47', '2017-01-20 07:42:48'),
(72, '11315017', '$2y$10$eCF13UmY1ytUl2PigKjNQ.a9psZlN8ZDh.bkZlT9ZPRQvnErd7mj6', 'mahasiswa', '480GqL2mv3DKbRPaQmcXToSRsSmnkZDAxoWUsZ9nNyXoww44KcJr5yXz9zpl', '2017-01-20 07:47:37', '2017-01-31 07:12:03'),
(73, '11315005', '$2y$10$JNnn3UUYtqOKZs9ESuQKFuW1K3kiL8ZUPg3anmPjFRpU7kB24t5fS', 'mahasiswa', NULL, '2017-01-20 07:53:52', '2017-01-20 07:53:52'),
(74, '11315004', '$2y$10$qLN1nQogWpKnA3GNHuuotef6AzrUZwPNuS7psxywlT99CxDzqyLK2', 'mahasiswa', 'yKUtHMcH9PQIRtBnPPyMXq1z15DsOEU1bMAnZovbbLlliHmMiYBEeVLVci6J', '2017-01-20 12:00:58', '2017-01-21 07:17:01'),
(75, '11315000', '$2y$10$LDQl0tIk1SWPEMJBLAObMOybqBJo9/CYhHUFyjmWjKmsxXhcUDl5C', 'mahasiswa', '58ia4SSeSMELTc3CeADfYGTxiigosJWO8xV5tJJKv8vJAqwoMSr1w0zmapxj', '2017-01-30 13:09:58', '2017-01-30 13:16:10'),
(76, '1234567', '$2y$10$qkdwn/nQg1XGKEXDnaTFbOMEITjvqqyrWsjxMQiUuYKWk0J2foAa.', 'mahasiswa', 'igbprmyqBy6rdS6jxax4geQCQf4ntJ8fj8aUV5gGlm7p87wqFkpxUM7RYJfq', '2017-01-30 16:25:01', '2017-01-30 16:27:33'),
(77, '11313131', '$2y$10$B0vjp6SmmrNYK13wN1oZfeL0kTZwOzhCv9dXz.83MRVl1qXWA25G.', 'mahasiswa', '2KuBC1cmEcPOLYWQymjWeruu3Ty5DtScUIQYO5XVyoFwbZyGQx13RrYyejbD', '2017-01-31 07:25:22', '2017-01-31 07:29:14'),
(78, '14414141', '$2y$10$JoUy1mAFxs12uNQaa4ZwLuH9csa/XhkQbwBmGBguNl88XDUQ7LusW', 'mahasiswa', 'UJjNRmTFJmtxpl3LeMQh0jk4HSoNd4IopIquqnFjDkL63G0TCW06bwlJgcmF', '2017-01-31 08:06:11', '2017-01-31 08:10:31'),
(79, '23456', '$2y$10$QGLeObqN1CR8Kh49NJd1W.mnR2G8vwZ02Y0le13iy1F4D.9SbTVFy', 'mahasiswa', 'epXUtyekPXxl1So7d9NcFblOwoKdk99VmKPteadoeungLHEb0XfncwDcuLyx', '2017-01-31 08:24:01', '2017-01-31 08:24:26');

--
-- Indexes for dumped tables
--

--
-- Indexes for table `password_resets`
--
ALTER TABLE `password_resets`
  ADD KEY `password_resets_email_index` (`email`),
  ADD KEY `password_resets_token_index` (`token`);

--
-- Indexes for table `tbl_book`
--
ALTER TABLE `tbl_book`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `tbl_mahasiswa`
--
ALTER TABLE `tbl_mahasiswa`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `upload`
--
ALTER TABLE `upload`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `users`
--
ALTER TABLE `users`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `users_username_unique` (`username`);

--
-- AUTO_INCREMENT for dumped tables
--

--
-- AUTO_INCREMENT for table `tbl_book`
--
ALTER TABLE `tbl_book`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=10;
--
-- AUTO_INCREMENT for table `tbl_mahasiswa`
--
ALTER TABLE `tbl_mahasiswa`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=10;
--
-- AUTO_INCREMENT for table `upload`
--
ALTER TABLE `upload`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=38;
--
-- AUTO_INCREMENT for table `users`
--
ALTER TABLE `users`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=80;
/*!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 */;
