21 lines
419 B
PHP
21 lines
419 B
PHP
|
<?php
|
||
|
|
||
|
namespace Database\Seeders;
|
||
|
|
||
|
use Illuminate\Database\Console\Seeds\WithoutModelEvents;
|
||
|
use Illuminate\Database\Seeder;
|
||
|
|
||
|
class MahasiswaSeeder extends Seeder
|
||
|
{
|
||
|
/**
|
||
|
* Run the database seeds.
|
||
|
*/
|
||
|
public function run(): void
|
||
|
{
|
||
|
// DB::table('mahasiswas')->insert([
|
||
|
// 'name' => Str::random(10),
|
||
|
// 'email' => Str::random(10).'@example.com',
|
||
|
// ]);
|
||
|
}
|
||
|
}
|