<?php

namespace Database\Seeders;

use Illuminate\Database\Seeder;
use Illuminate\Support\Facades\DB;

class OpenPositionOpSpecTableSeeder extends Seeder
{
    private $entryBlockTable = 'open_position_op_spec';

    /**
     * Run the database seeds.
     *
     * @return void
     */
    public function run()
    {
        // Table already deleted in DatabaseSeeder

        DB::table($this->entryBlockTable)->insert(
            [
                [
                    'open_position_spec_id' => 1,
                    'open_position_id'      => 1,
                    'position'              => 1,
                ],
                [
                    'open_position_spec_id' => 2,
                    'open_position_id'      => 1,
                    'position'              => 2,
                ],
                [
                    'open_position_spec_id' => 3,
                    'open_position_id'      => 1,
                    'position'              => 3,
                ],
            ]
        );
    }
}
