mirror of
https://github.com/dyzulk/santulitam.git
synced 2026-01-26 21:41:52 +07:00
First Commit
This commit is contained in:
31
database/seeders/PeletonSeeder.php
Normal file
31
database/seeders/PeletonSeeder.php
Normal file
@@ -0,0 +1,31 @@
|
||||
<?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,
|
||||
]);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user