<?php

declare(strict_types=1);

namespace Tests\Commands\Upgrade\Databases\V5_5_9_0\Seeds;

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

class ConsolesTableSeeder extends Seeder
{
    /**
     * Run the database seeds.
     *
     * @return void
     */
    public function run()
    {
        DB::table('consoles')->delete();

        DB::table('consoles')->insert([
            [
                'id'         => 1,
                'name'       => 'App\Console\Commands\Upgrade\V5_5_4_1',
                'created_at' => '2018-09-27 22:26:00',
                'updated_at' => '2018-09-27 22:26:00',
                'deleted_at' => null,
            ],
            [
                'id'         => 2,
                'name'       => 'App\Console\Commands\Upgrade\V5_5_4_3',
                'created_at' => '2018-09-27 22:26:00',
                'updated_at' => '2018-09-27 22:26:00',
                'deleted_at' => null,
            ],
            [
                'id'         => 3,
                'name'       => 'App\Console\Commands\Upgrade\V5_5_6_0',
                'created_at' => '2018-09-28 10:26:00',
                'updated_at' => '2018-09-28 10:26:00',
                'deleted_at' => null,
            ],
            [
                'id'         => 4,
                'name'       => 'App\Console\Commands\Upgrade\V5_5_7_0',
                'created_at' => '2018-11-06 22:26:00',
                'updated_at' => '2018-11-06 22:26:00',
                'deleted_at' => null,
            ],
        ]);
    }
}
