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

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