database/seeders/RegionSeeder.php
/**
     * Run the database seeds.
     *
     * @return void
     */
Run the database seeds.
@return void
Run the database seeds . @return void
public function run()
    {
        $region = [
            [
                'id' => '1',
                'name' => '11223 street',
                'city_id'=> 1,
                'user_id' =>1,
                'company_id' =>1,
            ]
        ];
        Region::insert($region);
    }
public function run ( ) { $ region = [ [ 'id' => '1' , 'name' => '11223 street' , 'city_id' => 1 , 'user_id' => 1 , 'company_id' => 1 , ] ] ; Region :: insert ( $ region ) ; }
Run the database seeds.
Run the database seeds .