Heera/Modules/Admin/database/seeders/NationalityDatabaseSeeder.php

22 lines
416 B
PHP
Raw Permalink Normal View History

2024-05-16 03:46:08 +00:00
<?php
namespace Modules\Admin\database\seeders;
use Illuminate\Database\Seeder;
use Modules\Admin\Models\Nationality;
class NationalityDatabaseSeeder extends Seeder
{
/**
* Run the database seeds.
*/
public function run(): void
{
$nationalities = [
['name' => 'Nepalese'],
['name' => 'Madesh'],
];
Nationality::create($nationalities);
}
}