database/seeders/PositionSeeder.php
/**
     * Run the database seeds.
     *
     * @return void
     */
Run the database seeds.
@return void
Run the database seeds . @return void
public function run()
    {
        $ins = [
            [
                'content' => 'mytask',
                'position' => 'left',
            ],
            [
                'content' => 'alltask',
                'position' => 'bottom-left',
            ],
            [
                'content' => 'closingweek',
                'position' => 'right',
            ],
            [
                'content' => 'mytask',
                'position' => 'bottom-right',
            ]
        ];
        DB::table('dashboard_orders')->insert($ins);
    }
public function run ( ) { $ ins = [ [ 'content' => 'mytask' , 'position' => 'left' , ] , [ 'content' => 'alltask' , 'position' => 'bottom-left' , ] , [ 'content' => 'closingweek' , 'position' => 'right' , ] , [ 'content' => 'mytask' , 'position' => 'bottom-right' , ] ] ; DB :: table ( 'dashboard_orders' ) -> insert ( $ ins ) ; }
Run the database seeds.
Run the database seeds .