database/seeds/ParametersTableSeeder.php
/**
     * Run the database seeds.
     *
     * @return void
     */
Run the database seeds.
@return void
Run the database seeds . @return void
public function run()
    {
        Parameter::create([
            'name' => 'availability_red',
            'value' => 85
        ]);
        Parameter::create([
            'name' => 'availability_yellow',
            'value' => 90
        ]);
    }
public function run ( ) { Parameter :: create ( [ 'name' => 'availability_red' , 'value' => 85 ] ) ; Parameter :: create ( [ 'name' => 'availability_yellow' , 'value' => 90 ] ) ; }
Run the database seeds.
Run the database seeds .