database/seeds/UsersTypeTableDataSeeder.php
/**
     * Run the database seeds.
     *
     * @return void
     */
Run the database seeds.
@return void
Run the database seeds . @return void
public function run()
    {
			$usertype = [            
		        ['id' => 1, 'user_type_name' => 'Client'],
		        ['id' => 2, 'user_type_name' => 'Designer'],
		    ];
		    foreach ($usertype as $type) {
		        Usertype::create($type);
		    }
    }
public function run ( ) { $ usertype = [ [ 'id' => 1 , 'user_type_name' => 'Client' ] , [ 'id' => 2 , 'user_type_name' => 'Designer' ] , ] ; foreach ( $ usertype as $ type ) { Usertype :: create ( $ type ) ; } }
Run the database seeds.
Run the database seeds .