mirror of
https://github.com/dyzulk/santulitam-temp.git
synced 2026-01-26 05:45:28 +07:00
32 lines
606 B
PHP
32 lines
606 B
PHP
<?php
|
|
|
|
namespace Database\Seeders;
|
|
|
|
use App\Models\Peleton;
|
|
use Illuminate\Database\Seeder;
|
|
use Illuminate\Database\Console\Seeds\WithoutModelEvents;
|
|
|
|
class PeletonSeeder extends Seeder
|
|
{
|
|
/**
|
|
* Run the database seeds.
|
|
*/
|
|
public function run(): void
|
|
{
|
|
Peleton::create([
|
|
'name' => 'Abhaya',
|
|
'cofasilitator_id' => 1,
|
|
]);
|
|
|
|
Peleton::create([
|
|
'name' => 'Lakshya',
|
|
'cofasilitator_id' => 2,
|
|
]);
|
|
|
|
Peleton::create([
|
|
'name' => 'Sanjaya',
|
|
'cofasilitator_id' => 3,
|
|
]);
|
|
}
|
|
}
|