StocksNew/database/seeders/GenderSeeder.php.bak

22 lines
363 B
PHP
Raw Permalink Normal View History

2024-08-27 12:03:06 +00:00
<?php
namespace Database\Seeders;
use Illuminate\Database\Seeder;
use Modules\Admin\Models\Gender;
class GenderSeeder extends Seeder
{
/**
* Run the database seeds.
*/
public function run(): void
{
$genders = [
['name' => 'Male'],
['name' => 'Female'],
];
Gender::insert($genders);
}
}