database/seeds/PersonasTableSeeder.php
/**
     * Run the database seeds.
     *
     * @return void
     */
Run the database seeds.
@return void
Run the database seeds . @return void
public function run()
    {
         factory(App\Persona::class, 1)
        ->create()
        ->each(function ($u) {
             $u->users()->save(factory(App\User::class)->make());
         });
    }
public function run ( ) { factory ( App \ Persona :: class , 1 ) -> create ( ) -> each ( function ( $ u ) { $ u -> users ( ) -> save ( factory ( App \ User :: class ) -> make ( ) ) ; } ) ; }
Run the database seeds.
Run the database seeds .