<?php

namespace Database\Seeders;

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

class BlockClientLogoTableSeeder extends Seeder
{
    private $entryBlockTable = 'block_client_logo';

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

        DB::table($this->entryBlockTable)->insert(
            [
                [
                    'client_logo_id' => 1,
                    'block_id'       => 13,
                    'position'       => 1,
                ],
                [
                    'client_logo_id' => 4,
                    'block_id'       => 13,
                    'position'       => 2,
                ],
                [
                    'client_logo_id' => 2,
                    'block_id'       => 13,
                    'position'       => 3,
                ],
                [
                    'client_logo_id' => 5,
                    'block_id'       => 13,
                    'position'       => 4,
                ],
                [
                    'client_logo_id' => 3,
                    'block_id'       => 13,
                    'position'       => 5,
                ],
                [
                    'client_logo_id' => 6,
                    'block_id'       => 13,
                    'position'       => 6,
                ]
            ]
        );
    }
}
