<?php
declare(strict_types=1);

use Phinx\Migration\AbstractMigration;

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

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