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