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

22 lines
416 B
PHP
Raw Normal View History

2024-08-27 12:03:06 +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);
}
}