database/seeds/AsignaturasTableSeeder.php
/**
     * Run the database seeds.
     *
     * @return void
     */
Run the database seeds.
@return void
Run the database seeds . @return void
public function run()
    {
        DB::table('asignaturas')->insert([
            'nombre' => 'Matematica',
            'created_at' => date('Y-m-d'),
            'updated_at' => date('Y-m-d')
        ]);
    }
public function run ( ) { DB :: table ( 'asignaturas' ) -> insert ( [ 'nombre' => 'Matematica' , 'created_at' => date ( 'Y-m-d' ) , 'updated_at' => date ( 'Y-m-d' ) ] ) ; }
Run the database seeds.
Run the database seeds .