<?php
declare(strict_types=1);

use Phinx\Migration\AbstractMigration;

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

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