<?php

namespace Database\Seeders;

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

class OpenPositionBlockTableSeeder extends Seeder
{
    private $entryBlockTable = 'open_position_block';

    /**
     * Run the database seeds.
     *
     * @return void
     */
    public function run()
    {
        // Website tables were already deleted by the Blocks seeder

        DB::table($this->entryBlockTable)->insert(
            [

                // Home
                [
                    'open_position_id'  => 1,
                    'block_id'          => 63,
                    'position'          => 1,
                ],
                [
                    'open_position_id'  => 1,
                    'block_id'          => 64,
                    'position'          => 2,
                ],
            ]
        );
    }
}
