database/seeds/ChangesTableSeeder.php
/**
     * Run the database seeds.
     *
     * @return void
     */
Run the database seeds.
@return void
Run the database seeds . @return void
public function run()
    {
        DB::table('changes')->insert([
            'name_change' => '1 смена',
        ]);
        DB::table('changes')->insert([
            'name_change' => '2 смена',
        ]);
        DB::table('changes')->insert([
            'name_change' => 'ночь',
        ]);
    }
public function run ( ) { DB :: table ( 'changes' ) -> insert ( [ 'name_change' => '1 смена', ] ) ; DB :: table ( 'changes' ) -> insert ( [ 'name_change' => '2 смена', ] ) ; DB :: table ( 'changes' ) -> insert ( [ 'name_change' => 'ночь', ] ) ; }
Run the database seeds.
Run the database seeds .