<?php
declare(strict_types=1);

use Phinx\Migration\AbstractMigration;

final class TaskInc47013 extends AbstractMigration
{
    public function up(): void
    {
        $row = $this->fetchRow('SELECT id FROM seguro.propostas WHERE id = 936361');
        if ($row['id']) {
            $this->execute("UPDATE seguro.propostas set ds_identificador_seguradora = 9768086 where id = 936361");
        }
    }

    public function down(): void
    {
        $row = $this->fetchRow('SELECT id FROM seguro.propostas WHERE id = 936361');
        if ($row['id']) {
            $this->execute("UPDATE seguro.propostas set ds_identificador_seguradora = 9758266 where id = 936361");
        }
    }
}
