diff --git a/ppl2(new).sql b/ppl2(tio).sql similarity index 59% rename from ppl2(new).sql rename to ppl2(tio).sql index 14a943ee29d2ba39077c3c185bf864bc564da817..3f01a2cd6e38769d9fa4bdfe542ea799f09d7f96 100644 --- a/ppl2(new).sql +++ b/ppl2(tio).sql @@ -1,11 +1,11 @@ -- phpMyAdmin SQL Dump --- version 4.3.11 +-- version 4.5.1 -- http://www.phpmyadmin.net -- -- Host: 127.0.0.1 --- Generation Time: May 16, 2016 at 06:48 PM --- Server version: 5.6.24 --- PHP Version: 5.6.8 +-- Generation Time: May 17, 2016 at 10:07 AM +-- Server version: 10.1.10-MariaDB +-- PHP Version: 7.0.4 SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; SET time_zone = "+00:00"; @@ -14,7 +14,7 @@ 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 utf8 */; +/*!40101 SET NAMES utf8mb4 */; -- -- Database: `ppl2` @@ -25,37 +25,34 @@ SET time_zone = "+00:00"; -- -- Table structure for table `informals` -- --- Creation: May 16, 2016 at 04:40 PM --- -CREATE TABLE IF NOT EXISTS `informals` ( - `id` int(11) NOT NULL DEFAULT '0', +CREATE TABLE `informals` ( + `id` int(11) NOT NULL, `nip` varchar(20) NOT NULL, - `id_institusi` int(11) NOT NULL, `keahlian` varchar(140) NOT NULL, `no_ijazah` varchar(30) NOT NULL, `tahun` year(4) NOT NULL, `durasi` int(11) NOT NULL, `created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00', - `ip` varchar(255) NOT NULL + `ip` varchar(255) NOT NULL, + `nama_institusi` varchar(255) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- --- RELATIONS FOR TABLE `informals`: --- `id_institusi` --- `institusi` -> `id_institusi` +-- Dumping data for table `informals` -- +INSERT INTO `informals` (`id`, `nip`, `keahlian`, `no_ijazah`, `tahun`, `durasi`, `created_at`, `updated_at`, `ip`, `nama_institusi`) VALUES +(1, '1234', 'gagal', 'asdf324', 2015, 2, '2016-05-17 00:20:30', '2016-05-17 00:20:30', '', 'Ini Tio Beban'); + -- -------------------------------------------------------- -- -- Table structure for table `institusi` -- --- Creation: May 16, 2016 at 04:42 PM --- -CREATE TABLE IF NOT EXISTS `institusi` ( +CREATE TABLE `institusi` ( `id_institusi` int(11) NOT NULL, `nama_institusi` varchar(255) NOT NULL, `alamat_institusi` varchar(255) NOT NULL, @@ -67,26 +64,23 @@ CREATE TABLE IF NOT EXISTS `institusi` ( ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- --- RELATIONS FOR TABLE `institusi`: +-- Dumping data for table `institusi` -- +INSERT INTO `institusi` (`id_institusi`, `nama_institusi`, `alamat_institusi`, `email_institusi`, `notelp_institusi`, `created_at`, `updated_at`, `ip`) VALUES +(1, 'ITB', 'Jalan Ganesha no. 10', 'itb@itb.ac.id', '8617283', '2016-05-17 03:53:52', '0000-00-00 00:00:00', '::1'); + -- -------------------------------------------------------- -- -- Table structure for table `migrations` -- --- Creation: May 16, 2016 at 12:10 PM --- -CREATE TABLE IF NOT EXISTS `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; --- --- RELATIONS FOR TABLE `migrations`: --- - -- -- Dumping data for table `migrations` -- @@ -101,82 +95,47 @@ INSERT INTO `migrations` (`migration`, `batch`) VALUES -- -- Table structure for table `password_resets` -- --- Creation: May 16, 2016 at 12:10 PM --- -CREATE TABLE IF NOT EXISTS `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 NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, `updated_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; --- --- RELATIONS FOR TABLE `password_resets`: --- - --- -------------------------------------------------------- - --- --- Table structure for table `pelatihan` --- --- Creation: May 16, 2016 at 04:31 PM --- - -CREATE TABLE IF NOT EXISTS `pelatihan` ( - `id_jadwal` int(11) NOT NULL, - `id_institusi` int(11) NOT NULL, - `keahlian` varchar(140) NOT NULL, - `durasi_ijazah` int(11) NOT NULL, - `tanggal` date NOT NULL, - `jam` time NOT NULL, - `tempat` varchar(50) NOT NULL, - `kapasitas` int(5) NOT NULL, - `created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, - `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00', - `ip` varchar(255) NOT NULL -) ENGINE=InnoDB DEFAULT CHARSET=latin1; - --- --- RELATIONS FOR TABLE `pelatihan`: --- `id_institusi` --- `institusi` -> `id_institusi` --- - -- -------------------------------------------------------- -- -- Table structure for table `pendaftaran_pelatihan` -- --- Creation: May 16, 2016 at 04:32 PM --- -CREATE TABLE IF NOT EXISTS `pendaftaran_pelatihan` ( +CREATE TABLE `pendaftaran_pelatihan` ( `id_pendaftaran` int(11) NOT NULL, `id_jadwal` int(11) NOT NULL, `nip` varchar(20) NOT NULL, `email` varchar(50) NOT NULL, - `no_ijazah` varchar(30) NOT NULL, `created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00', - `ip` varchar(255) NOT NULL + `ip` varchar(255) NOT NULL, + `nama_kegiatan` varchar(255) NOT NULL, + `konfirmasi` varchar(15) NOT NULL DEFAULT 'belum' ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- --- RELATIONS FOR TABLE `pendaftaran_pelatihan`: --- `id_jadwal` --- `pelatihan` -> `id_jadwal` +-- Dumping data for table `pendaftaran_pelatihan` -- +INSERT INTO `pendaftaran_pelatihan` (`id_pendaftaran`, `id_jadwal`, `nip`, `email`, `created_at`, `updated_at`, `ip`, `nama_kegiatan`, `konfirmasi`) VALUES +(1, 1, '123434', 'tio@tio.tio', '2016-05-17 08:00:28', '2016-05-17 01:00:28', '', 'asdf', 'ditolak'), +(2, 1, '710', 'tio@tio.tio', '2016-05-17 08:00:24', '2016-05-17 01:00:24', '', 'aaaaa', 'ditolak'); + -- -------------------------------------------------------- -- -- Table structure for table `pendidikan_formal` -- --- Creation: May 16, 2016 at 04:36 PM --- -CREATE TABLE IF NOT EXISTS `pendidikan_formal` ( +CREATE TABLE `pendidikan_formal` ( `id` int(11) NOT NULL, `nip` varchar(20) NOT NULL, `id_institusi` int(11) NOT NULL, @@ -190,22 +149,42 @@ CREATE TABLE IF NOT EXISTS `pendidikan_formal` ( `ip` varchar(255) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; +-- -------------------------------------------------------- + +-- +-- Table structure for table `penjadwalan` +-- + +CREATE TABLE `penjadwalan` ( + `kegiatan_id` int(11) NOT NULL, + `id_institusi` int(11) NOT NULL, + `keahlian` varchar(140) NOT NULL, + `durasi_ijazah` int(11) NOT NULL, + `waktu` datetime NOT NULL, + `tempat` int(11) NOT NULL, + `kapasitas` int(5) NOT NULL, + `created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, + `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00', + `ip` varchar(255) NOT NULL, + `nama_institusi` varchar(255) NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=latin1; + -- --- RELATIONS FOR TABLE `pendidikan_formal`: --- `id_institusi` --- `institusi` -> `id_institusi` +-- Dumping data for table `penjadwalan` -- +INSERT INTO `penjadwalan` (`kegiatan_id`, `id_institusi`, `keahlian`, `durasi_ijazah`, `waktu`, `tempat`, `kapasitas`, `created_at`, `updated_at`, `ip`, `nama_institusi`) VALUES +(1, 1, 'asdf', 1, '2016-05-17 09:00:00', 1, 50, '2016-05-17 04:44:30', '0000-00-00 00:00:00', '', 'tio'), +(2, 1, 'aaaaa', 2, '2016-05-17 11:00:00', 2, 100, '2016-05-17 06:41:34', '0000-00-00 00:00:00', '', 'Ini Tio Beban'); + -- -------------------------------------------------------- -- -- Table structure for table `users` -- --- Creation: May 16, 2016 at 12:10 PM --- -CREATE TABLE IF NOT EXISTS `users` ( - `id` int(10) unsigned NOT NULL, +CREATE TABLE `users` ( + `id` int(10) UNSIGNED NOT NULL, `name` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `email` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `password` varchar(255) COLLATE utf8_unicode_ci NOT NULL, @@ -214,10 +193,6 @@ CREATE TABLE IF NOT EXISTS `users` ( `updated_at` timestamp NULL DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; --- --- RELATIONS FOR TABLE `users`: --- - -- -- Indexes for dumped tables -- @@ -226,7 +201,7 @@ CREATE TABLE IF NOT EXISTS `users` ( -- Indexes for table `informals` -- ALTER TABLE `informals` - ADD PRIMARY KEY (`id`), ADD KEY `id_institusi` (`id_institusi`); + ADD PRIMARY KEY (`id`); -- -- Indexes for table `institusi` @@ -238,69 +213,72 @@ ALTER TABLE `institusi` -- Indexes for table `password_resets` -- ALTER TABLE `password_resets` - ADD PRIMARY KEY (`email`,`token`), ADD KEY `password_resets_email_index` (`email`), ADD KEY `password_resets_token_index` (`token`); - --- --- Indexes for table `pelatihan` --- -ALTER TABLE `pelatihan` - ADD PRIMARY KEY (`id_jadwal`), ADD KEY `id_institusi` (`id_institusi`); + ADD PRIMARY KEY (`email`,`token`), + ADD KEY `password_resets_email_index` (`email`), + ADD KEY `password_resets_token_index` (`token`); -- -- Indexes for table `pendaftaran_pelatihan` -- ALTER TABLE `pendaftaran_pelatihan` - ADD PRIMARY KEY (`id_pendaftaran`), ADD KEY `id_jadwal` (`id_jadwal`); + ADD PRIMARY KEY (`id_pendaftaran`), + ADD KEY `id_jadwal` (`id_jadwal`); -- -- Indexes for table `pendidikan_formal` -- ALTER TABLE `pendidikan_formal` - ADD PRIMARY KEY (`id`), ADD KEY `id_institusi` (`id_institusi`); + ADD PRIMARY KEY (`id`), + ADD KEY `id_institusi` (`id_institusi`); + +-- +-- Indexes for table `penjadwalan` +-- +ALTER TABLE `penjadwalan` + ADD PRIMARY KEY (`kegiatan_id`), + ADD KEY `id_institusi` (`id_institusi`); -- -- Indexes for table `users` -- ALTER TABLE `users` - ADD PRIMARY KEY (`id`), ADD UNIQUE KEY `users_email_unique` (`email`); + ADD PRIMARY KEY (`id`), + ADD UNIQUE KEY `users_email_unique` (`email`); -- -- AUTO_INCREMENT for dumped tables -- -- --- AUTO_INCREMENT for table `users` +-- AUTO_INCREMENT for table `informals` -- -ALTER TABLE `users` - MODIFY `id` int(10) unsigned NOT NULL AUTO_INCREMENT; +ALTER TABLE `informals` + MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2; -- --- Constraints for dumped tables +-- AUTO_INCREMENT for table `institusi` -- - +ALTER TABLE `institusi` + MODIFY `id_institusi` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2; -- --- Constraints for table `informals` +-- AUTO_INCREMENT for table `pendaftaran_pelatihan` -- -ALTER TABLE `informals` -ADD CONSTRAINT `informals_ibfk_1` FOREIGN KEY (`id_institusi`) REFERENCES `institusi` (`id_institusi`); - +ALTER TABLE `pendaftaran_pelatihan` + MODIFY `id_pendaftaran` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3; -- --- Constraints for table `pelatihan` +-- AUTO_INCREMENT for table `pendidikan_formal` -- -ALTER TABLE `pelatihan` -ADD CONSTRAINT `pelatihan_ibfk_1` FOREIGN KEY (`id_institusi`) REFERENCES `institusi` (`id_institusi`); - +ALTER TABLE `pendidikan_formal` + MODIFY `id` int(11) NOT NULL AUTO_INCREMENT; -- --- Constraints for table `pendaftaran_pelatihan` +-- AUTO_INCREMENT for table `penjadwalan` -- -ALTER TABLE `pendaftaran_pelatihan` -ADD CONSTRAINT `pendaftaran_pelatihan_ibfk_1` FOREIGN KEY (`id_jadwal`) REFERENCES `pelatihan` (`id_jadwal`); - +ALTER TABLE `penjadwalan` + MODIFY `kegiatan_id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3; -- --- Constraints for table `pendidikan_formal` +-- AUTO_INCREMENT for table `users` -- -ALTER TABLE `pendidikan_formal` -ADD CONSTRAINT `pendidikan_formal_ibfk_1` FOREIGN KEY (`id_institusi`) REFERENCES `institusi` (`id_institusi`); - +ALTER TABLE `users` + MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT; /*!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 */; diff --git a/ppl2.sql b/ppl2.sql deleted file mode 100644 index f6d41feeacf226ff8d19af558a1927ac1344db2d..0000000000000000000000000000000000000000 --- a/ppl2.sql +++ /dev/null @@ -1,239 +0,0 @@ --- phpMyAdmin SQL Dump --- version 4.5.1 --- http://www.phpmyadmin.net --- --- Host: 127.0.0.1 --- Generation Time: May 12, 2016 at 01:22 PM --- Server version: 10.1.10-MariaDB --- PHP Version: 7.0.4 - -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: `ppl2` --- - --- -------------------------------------------------------- - --- --- Table structure for table `informals` --- - -CREATE TABLE `informals` ( - `id` int(11) NOT NULL DEFAULT '0', - `nip` varchar(20) NOT NULL, - `nama_institusi` varchar(140) NOT NULL, - `keahlian` varchar(140) NOT NULL, - `no_ijazah` varchar(30) NOT NULL, - `tahun` year(4) NOT NULL, - `durasi` int(11) NOT NULL -) ENGINE=InnoDB DEFAULT CHARSET=latin1; - --- --- Dumping data for table `informals` --- - -INSERT INTO `informals` (`id`, `nip`, `nama_institusi`, `keahlian`, `no_ijazah`, `tahun`, `durasi`) VALUES -(1, '12345678', 'ITB', 'Teknik Informatika', 'ab12345', 2001, 0), -(2, '12345678', 'ITB', 'Teknik Elektro', 'bc23455', 2007, 0); - --- -------------------------------------------------------- - --- --- Table structure for table `institusi` --- - -CREATE TABLE `institusi` ( - `institusi_id` int(11) NOT NULL, - `nama_institusi` varchar(255) NOT NULL, - `alamat_institusi` varchar(255) NOT NULL, - `email_institusi` varchar(255) NOT NULL, - `notelp_institusi` varchar(255) NOT NULL -) ENGINE=InnoDB DEFAULT CHARSET=latin1; - --- --- Dumping data for table `institusi` --- - -INSERT INTO `institusi` (`institusi_id`, `nama_institusi`, `alamat_institusi`, `email_institusi`, `notelp_institusi`) VALUES -(1, 'Universitas Indonesia', 'Kampus Baru UI Depok, Depok', 'humas-ui@ui.ac.id', '+62217867222'), -(4, 'Institut Teknologi Bandung', 'Jl. Ganesha No.10, Jawa Barat, Indonesia', 'itb@itb.ac.id', '+62222500935'), -(5, 'Institut Teknologi Bandung', 'Jl. Ganesha No.10, Jawa Barat, Indonesia', 'itb@itb.ac.id', '+62222500935'); - --- -------------------------------------------------------- - --- --- 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_04_04_173639_non_formal', 2); - --- -------------------------------------------------------- - --- --- 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 NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, - `updated_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP -) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; - --- -------------------------------------------------------- - --- --- Table structure for table `pelatihan` --- - -CREATE TABLE `pelatihan` ( - `id_jadwal` int(11) NOT NULL, - `id_institusi` int(11) NOT NULL, - `keahlian` varchar(140) NOT NULL, - `durasi_ijazah` int(11) NOT NULL, - `tanggal` date NOT NULL, - `jam` time NOT NULL, - `tempat` varchar(50) NOT NULL, - `kapasitas` int(5) NOT NULL -) ENGINE=InnoDB DEFAULT CHARSET=latin1; - --- -------------------------------------------------------- - --- --- Table structure for table `pendaftaran_pelatihan` --- - -CREATE TABLE `pendaftaran_pelatihan` ( - `id_pendaftaran` int(11) NOT NULL, - `id_jadwal` int(11) NOT NULL, - `nip` varchar(20) NOT NULL, - `email` varchar(50) NOT NULL, - `no_ijazah` varchar(30) NOT NULL -) ENGINE=InnoDB DEFAULT CHARSET=latin1; - --- -------------------------------------------------------- - --- --- Table structure for table `pendidikan_formal` --- - -CREATE TABLE `pendidikan_formal` ( - `id` int(11) NOT NULL, - `nip` varchar(20) NOT NULL, - `nama_institusi` varchar(140) NOT NULL, - `tingkatan` varchar(20) NOT NULL, - `gelar` varchar(10) NOT NULL, - `jurusan` varchar(140) NOT NULL, - `no_ijazah` varchar(30) NOT NULL, - `tahun` year(4) NOT NULL, - `created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, - `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00', - `ip` varchar(255) NOT NULL -) ENGINE=InnoDB DEFAULT CHARSET=latin1; - --- --- Dumping data for table `pendidikan_formal` --- - -INSERT INTO `pendidikan_formal` (`id`, `nip`, `nama_institusi`, `tingkatan`, `gelar`, `jurusan`, `no_ijazah`, `tahun`, `created_at`, `updated_at`, `ip`) VALUES -(0, '21322', 'Ini Tio Beban', 'Strata 3', 'S.Tio', 'Komputer', 'dfvf23r4tdx', 2015, '2016-05-12 04:08:08', '2016-05-12 04:08:08', '::1'), -(1, '12345678', 'ITB', 'S1', 'ST', 'Teknik Informatika', 'ab12345', 2001, '2016-05-12 10:59:31', '0000-00-00 00:00:00', ''), -(2, '12345678', 'ITB', 'S2', 'M.T.', 'Teknik Elektro', 'bc23455', 2007, '2016-05-12 10:59:31', '0000-00-00 00:00:00', ''); - --- -------------------------------------------------------- - --- --- Table structure for table `users` --- - -CREATE TABLE `users` ( - `id` int(10) UNSIGNED NOT NULL, - `name` varchar(255) COLLATE utf8_unicode_ci NOT NULL, - `email` varchar(255) COLLATE utf8_unicode_ci NOT NULL, - `password` 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; - --- --- Indexes for dumped tables --- - --- --- Indexes for table `informals` --- -ALTER TABLE `informals` - ADD PRIMARY KEY (`id`); - --- --- Indexes for table `institusi` --- -ALTER TABLE `institusi` - ADD PRIMARY KEY (`institusi_id`); - --- --- Indexes for table `password_resets` --- -ALTER TABLE `password_resets` - ADD PRIMARY KEY (`email`,`token`), - ADD KEY `password_resets_email_index` (`email`), - ADD KEY `password_resets_token_index` (`token`); - --- --- Indexes for table `pelatihan` --- -ALTER TABLE `pelatihan` - ADD PRIMARY KEY (`id_jadwal`); - --- --- Indexes for table `pendaftaran_pelatihan` --- -ALTER TABLE `pendaftaran_pelatihan` - ADD PRIMARY KEY (`id_pendaftaran`); - --- --- Indexes for table `pendidikan_formal` --- -ALTER TABLE `pendidikan_formal` - ADD PRIMARY KEY (`id`); - --- --- Indexes for table `users` --- -ALTER TABLE `users` - ADD PRIMARY KEY (`id`), - ADD UNIQUE KEY `users_email_unique` (`email`); - --- --- AUTO_INCREMENT for dumped tables --- - --- --- AUTO_INCREMENT for table `users` --- -ALTER TABLE `users` - MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT; -/*!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 */;