database/seeds/SiteConfig.php
/**
     * Run the database seeds.
     *
     * @return void
     */
Run the database seeds.
@return void
Run the database seeds . @return void
public function run()
    {
      DB::table('config')->insert([
          'name' => 'homepage',
          'label' => 'Pantalla principal',
          'value' => "1"
      ]);
      DB::table('config')->insert([
          'name' => 'mostrar_login_out_web',
          'label' => 'Mostrar login/out en web',
          'value' => "1"
      ]);
    }
public function run ( ) { DB :: table ( 'config' ) -> insert ( [ 'name' => 'homepage' , 'label' => 'Pantalla principal' , 'value' => " 1 " ] ) ; DB :: table ( 'config' ) -> insert ( [ 'name' => 'mostrar_login_out_web' , 'label' => 'Mostrar login/out en web' , 'value' => " 1 " ] ) ; }
Run the database seeds.
Run the database seeds .