StocksNew/database/seeders/GenderSeeder.php.bak
Sampanna Rimal 53c0140f58 first commit
2024-08-27 17:48:06 +05:45

22 lines
363 B
PHP

<?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);
}
}