Heera/Modules/Admin/database/seeders/ProvinceDatabaseSeeder.php
2024-05-16 09:31:08 +05:45

27 lines
723 B
PHP

<?php
namespace Modules\Admin\database\seeders;
use Illuminate\Database\Seeder;
use Modules\Admin\Models\Province;
class ProvinceDatabaseSeeder extends Seeder
{
/**
* Run the database seeds.
*/
public function run(): void
{
$provinces = [
['name' => 'Koshi', 'country_id' => 156],
['name' => 'Madesh', 'country_id' => 156],
['name' => 'Bagmati', 'country_id' => 156],
['name' => 'Gandaki', 'country_id' => 156],
['name' => 'Lumbini', 'country_id' => 156],
['name' => 'Karnali', 'country_id' => 156],
['name' => 'Sudurpaschim', 'country_id' => 156],
];
Province::create($provinces);
}
}