106 lines
3.6 KiB
PHP
106 lines
3.6 KiB
PHP
<?php
|
|
|
|
namespace Database\Seeders;
|
|
|
|
use Illuminate\Database\Seeder;
|
|
use Illuminate\Support\Facades\DB;
|
|
use Illuminate\Support\Facades\Hash;
|
|
|
|
class UsersSeeder extends Seeder
|
|
{
|
|
/**
|
|
* Run the database seeds.
|
|
*
|
|
* @return void
|
|
*/
|
|
public function run()
|
|
{
|
|
$users = [
|
|
// [
|
|
// "name" => "Dosen",
|
|
// "nomor" => NULL,
|
|
// "keahlian" => NULL,
|
|
// "minat" => NULL,
|
|
// "role" => "Dosen",
|
|
// "email" => "dosen@gmail.com",
|
|
// "password" => Hash::make('12345678'),
|
|
// "email_verified_at" => now(),
|
|
// ],
|
|
[
|
|
"id" => "12",
|
|
"name" => "Faisal Lutfi Afriansyah, S.Kom, MT",
|
|
"nomor" => "19910429 201903 1 011",
|
|
"role" => "Dosen",
|
|
"email" => "faisal@gmail.com",
|
|
"password" => Hash::make('12345678'),
|
|
"email_verified_at" => now(),
|
|
],
|
|
[
|
|
"id" => "13",
|
|
"name" => "Wahyu Kurnia Dewanto, S.Kom, MT",
|
|
"nomor" => "19710408 200112 1 003",
|
|
"role" => "Dosen",
|
|
"email" => "wahyu@gmail.com",
|
|
"password" => Hash::make('12345678'),
|
|
"email_verified_at" => now(),
|
|
],
|
|
[
|
|
"id" => "14",
|
|
"name" => "Hendra Yufit Riskiawan, S.Kom, M.Cs",
|
|
"nomor" => "19830203 200604 1 003",
|
|
"role" => "Dosen",
|
|
"email" => "hendra@gmail.com",
|
|
"password" => Hash::make('12345678'),
|
|
"email_verified_at" => now(),
|
|
],
|
|
[
|
|
"id" => "15",
|
|
"name" => "Dwi Putro Sarwo Setyohadi, S.Kom, M.Kom",
|
|
"nomor" => "19800517 200812 1 002",
|
|
"role" => "Dosen",
|
|
"email" => "dwiputro@gmail.com",
|
|
"password" => Hash::make('12345678'),
|
|
"email_verified_at" => now(),
|
|
],
|
|
[
|
|
"id" => "16",
|
|
"name" => "Taufiq Rizaldi, S.ST., MT",
|
|
"nomor" => "19890329 201903 1 007",
|
|
"role" => "Dosen",
|
|
"email" => "taufiq@gmail.com",
|
|
"password" => Hash::make('12345678'),
|
|
"email_verified_at" => now(),
|
|
],
|
|
[
|
|
"id" => "17",
|
|
"name" => "Husin, S.Kom, M.MT",
|
|
"nomor" => "19880702 201903 1 010",
|
|
"role" => "Dosen",
|
|
"email" => "husin@gmail.com",
|
|
"password" => Hash::make('12345678'),
|
|
"email_verified_at" => now(),
|
|
],
|
|
[
|
|
"id" => "18",
|
|
"name" => "Khafidurrohman Agustianto, S.Pd, M.Eng",
|
|
"nomor" => "19911211 201803 1 001",
|
|
"role" => "Dosen",
|
|
"email" => "khafid@gmail.com",
|
|
"password" => Hash::make('12345678'),
|
|
"email_verified_at" => now(),
|
|
],
|
|
[
|
|
"id" => "19",
|
|
"name" => "Pramuditha Shinta Dewi Puspitasari, S.Kom., M.Kom",
|
|
"nomor" => "19880404 202012 2 013",
|
|
"role" => "Dosen",
|
|
"email" => "pramuditha@gmail.com",
|
|
"password" => Hash::make('12345678'),
|
|
"email_verified_at" => now(),
|
|
],
|
|
];
|
|
|
|
DB::table('users')->insert($users);
|
|
}
|
|
}
|