23 lines
355 B
PHP
23 lines
355 B
PHP
<?php
|
|
|
|
namespace Database\Seeders;
|
|
|
|
use Illuminate\Database\Seeder;
|
|
use Modules\Admin\Models\Country;
|
|
|
|
class CountrySeeder extends Seeder
|
|
{
|
|
/**
|
|
* Run the database seeds.
|
|
*/
|
|
public function run(): void
|
|
{
|
|
$countries = [
|
|
['name' => 'Nepal', 'code' => 'NP'],
|
|
];
|
|
|
|
Country::insert($countries);
|
|
}
|
|
}
|
|
|