StocksNew/database/seeders/NationalitySeeder.php.bak

22 lines
393 B
PHP
Raw Normal View History

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