database/seeders/VinhosClassSeeder.php
/**
     * Run the database seeds.
     *
     * @return void
     */
Run the database seeds.
@return void
Run the database seeds . @return void
public function run()
    {
        VinhosClass::create([
            'id_vinho' => 1,
            'nr_class' => 19,
            'classificacao' => 3,
            'total_class' => 51,
        ]);
        VinhosClass::create([
            'id_vinho' => 2,
            'nr_class' => 18,
            'classificacao' => 4,
            'total_class' => 50,
        ]);
        VinhosClass::create([
            'id_vinho' => 3,
            'nr_class' => 17,
            'classificacao' => 3,
            'total_class' => 47,
        ]);
        VinhosClass::create([
            'id_vinho' => 4,
            'nr_class' => 16,
            'classificacao' => 4,
            'total_class' => 33,
        ]);
        VinhosClass::create([
            'id_vinho' => 5,
            'nr_class' => 16,
            'classificacao' => 4,
            'total_class' => 39,
        ]);
        VinhosClass::create([
            'id_vinho' => 6,
            'nr_class' => 12,
            'classificacao' => 2,
            'total_class' => 23,
        ]);
        VinhosClass::create([
            'id_vinho' => 7,
            'nr_class' => 20,
            'classificacao' => 5,
            'total_class' => 58,
        ]);
        VinhosClass::create([
            'id_vinho' => 8,
            'nr_class' => 20,
            'classificacao' => 3,
            'total_class' => 41,
        ]);
        VinhosClass::create([
            'id_vinho' => 9,
            'nr_class' => 15,
            'classificacao' => 3,
            'total_class' => 23,
        ]);
        VinhosClass::create([
            'id_vinho' => 10,
            'nr_class' => 21,
            'classificacao' => 3,
            'total_class' => 44,
        ]);
        VinhosClass::create([
            'id_vinho' => 11,
            'nr_class' => 14,
            'classificacao' => 4,
            'total_class' => 31,
        ]);
        VinhosClass::create([
            'id_vinho' => 12,
            'nr_class' => 15,
            'classificacao' => 5,
            'total_class' => 29,
        ]);
        VinhosClass::create([
            'id_vinho' => 13,
            'nr_class' => 16,
            'classificacao' => 5,
            'total_class' => 33,
        ]);
        VinhosClass::create([
            'id_vinho' => 14,
            'nr_class' => 18,
            'classificacao' => 4,
            'total_class' => 21,
        ]);
        VinhosClass::create([
            'id_vinho' => 15,
            'nr_class' => 10,
            'classificacao' => 3,
            'total_class' => 20,
        ]);
        VinhosClass::create([
            'id_vinho' => 16,
            'nr_class' => 10,
            'classificacao' => 5,
            'total_class' => 20,
        ]);
        VinhosClass::create([
            'id_vinho' => 17,
            'nr_class' => 11,
            'classificacao' => 5,
            'total_class' => 30,
        ]);
        VinhosClass::create([
            'id_vinho' => 18,
            'nr_class' => 23,
            'classificacao' => 4,
            'total_class' => 46,
        ]);
        VinhosClass::create([
            'id_vinho' => 19,
            'nr_class' => 4,
            'classificacao' => 3,
            'total_class' => 14,
        ]);
        VinhosClass::create([
            'id_vinho' => 20,
            'nr_class' => 8,
            'classificacao' => 4,
            'total_class' => 19,
        ]);
        VinhosClass::create([
            'id_vinho' => 21,
            'nr_class' => 7,
            'classificacao' => 2,
            'total_class' => 12,
        ]);
        VinhosClass::create([
            'id_vinho' => 22,
            'nr_class' => 3,
            'classificacao' => 3,
            'total_class' => 8,
        ]);
        VinhosClass::create([
            'id_vinho' => 23,
            'nr_class' => 21,
            'classificacao' => 4,
            'total_class' => 35,
        ]);
        VinhosClass::create([
            'id_vinho' => 24,
            'nr_class' => 12,
            'classificacao' => 4,
            'total_class' => 20,
        ]);
        VinhosClass::create([
            'id_vinho' => 25,
            'nr_class' => 11,
            'classificacao' => 4,
            'total_class' => 31,
        ]);
        VinhosClass::create([
            'id_vinho' => 26,
            'nr_class' => 7,
            'classificacao' => 4,
            'total_class' => 3,
        ]);
        VinhosClass::create([
            'id_vinho' => 27,
            'nr_class' => 6,
            'classificacao' => 3,
            'total_class' => 15,
        ]);
        VinhosClass::create([
            'id_vinho' => 28,
            'nr_class' => 3,
            'classificacao' => 3,
            'total_class' => 5,
        ]);
        VinhosClass::create([
            'id_vinho' => 29,
            'nr_class' => 143,
            'classificacao' => 2,
            'total_class' => 10,
        ]);
        VinhosClass::create([
            'id_vinho' => 30,
            'nr_class' => 5,
            'classificacao' => 2,
            'total_class' => 15,
        ]);
    }
public function run ( ) { VinhosClass :: create ( [ 'id_vinho' => 1 , 'nr_class' => 19 , 'classificacao' => 3 , 'total_class' => 51 , ] ) ; VinhosClass :: create ( [ 'id_vinho' => 2 , 'nr_class' => 18 , 'classificacao' => 4 , 'total_class' => 50 , ] ) ; VinhosClass :: create ( [ 'id_vinho' => 3 , 'nr_class' => 17 , 'classificacao' => 3 , 'total_class' => 47 , ] ) ; VinhosClass :: create ( [ 'id_vinho' => 4 , 'nr_class' => 16 , 'classificacao' => 4 , 'total_class' => 33 , ] ) ; VinhosClass :: create ( [ 'id_vinho' => 5 , 'nr_class' => 16 , 'classificacao' => 4 , 'total_class' => 39 , ] ) ; VinhosClass :: create ( [ 'id_vinho' => 6 , 'nr_class' => 12 , 'classificacao' => 2 , 'total_class' => 23 , ] ) ; VinhosClass :: create ( [ 'id_vinho' => 7 , 'nr_class' => 20 , 'classificacao' => 5 , 'total_class' => 58 , ] ) ; VinhosClass :: create ( [ 'id_vinho' => 8 , 'nr_class' => 20 , 'classificacao' => 3 , 'total_class' => 41 , ] ) ; VinhosClass :: create ( [ 'id_vinho' => 9 , 'nr_class' => 15 , 'classificacao' => 3 , 'total_class' => 23 , ] ) ; VinhosClass :: create ( [ 'id_vinho' => 10 , 'nr_class' => 21 , 'classificacao' => 3 , 'total_class' => 44 , ] ) ; VinhosClass :: create ( [ 'id_vinho' => 11 , 'nr_class' => 14 , 'classificacao' => 4 , 'total_class' => 31 , ] ) ; VinhosClass :: create ( [ 'id_vinho' => 12 , 'nr_class' => 15 , 'classificacao' => 5 , 'total_class' => 29 , ] ) ; VinhosClass :: create ( [ 'id_vinho' => 13 , 'nr_class' => 16 , 'classificacao' => 5 , 'total_class' => 33 , ] ) ; VinhosClass :: create ( [ 'id_vinho' => 14 , 'nr_class' => 18 , 'classificacao' => 4 , 'total_class' => 21 , ] ) ; VinhosClass :: create ( [ 'id_vinho' => 15 , 'nr_class' => 10 , 'classificacao' => 3 , 'total_class' => 20 , ] ) ; VinhosClass :: create ( [ 'id_vinho' => 16 , 'nr_class' => 10 , 'classificacao' => 5 , 'total_class' => 20 , ] ) ; VinhosClass :: create ( [ 'id_vinho' => 17 , 'nr_class' => 11 , 'classificacao' => 5 , 'total_class' => 30 , ] ) ; VinhosClass :: create ( [ 'id_vinho' => 18 , 'nr_class' => 23 , 'classificacao' => 4 , 'total_class' => 46 , ] ) ; VinhosClass :: create ( [ 'id_vinho' => 19 , 'nr_class' => 4 , 'classificacao' => 3 , 'total_class' => 14 , ] ) ; VinhosClass :: create ( [ 'id_vinho' => 20 , 'nr_class' => 8 , 'classificacao' => 4 , 'total_class' => 19 , ] ) ; VinhosClass :: create ( [ 'id_vinho' => 21 , 'nr_class' => 7 , 'classificacao' => 2 , 'total_class' => 12 , ] ) ; VinhosClass :: create ( [ 'id_vinho' => 22 , 'nr_class' => 3 , 'classificacao' => 3 , 'total_class' => 8 , ] ) ; VinhosClass :: create ( [ 'id_vinho' => 23 , 'nr_class' => 21 , 'classificacao' => 4 , 'total_class' => 35 , ] ) ; VinhosClass :: create ( [ 'id_vinho' => 24 , 'nr_class' => 12 , 'classificacao' => 4 , 'total_class' => 20 , ] ) ; VinhosClass :: create ( [ 'id_vinho' => 25 , 'nr_class' => 11 , 'classificacao' => 4 , 'total_class' => 31 , ] ) ; VinhosClass :: create ( [ 'id_vinho' => 26 , 'nr_class' => 7 , 'classificacao' => 4 , 'total_class' => 3 , ] ) ; VinhosClass :: create ( [ 'id_vinho' => 27 , 'nr_class' => 6 , 'classificacao' => 3 , 'total_class' => 15 , ] ) ; VinhosClass :: create ( [ 'id_vinho' => 28 , 'nr_class' => 3 , 'classificacao' => 3 , 'total_class' => 5 , ] ) ; VinhosClass :: create ( [ 'id_vinho' => 29 , 'nr_class' => 143 , 'classificacao' => 2 , 'total_class' => 10 , ] ) ; VinhosClass :: create ( [ 'id_vinho' => 30 , 'nr_class' => 5 , 'classificacao' => 2 , 'total_class' => 15 , ] ) ; }
Run the database seeds.
Run the database seeds .