<?php
declare(strict_types=1);

use Phinx\Migration\AbstractMigration;

final class Task2402211248 extends AbstractMigration
{
    public function up(): void
    {
        $row = $this->fetchRow('SELECT id FROM seguro.propostas WHERE id = 918592');
        if ($row['id']) {
            $this->execute("SELECT manutencao.atualizar_status (889562, 213, 918592, NULL, NULL)");
        }
    }

    public function down(): void
    {
        $row = $this->fetchRow('SELECT id FROM seguro.propostas WHERE id = 918592');
        if ($row['id']) {
            $this->execute("SELECT manutencao.atualizar_status (889562,   8, 918592, NULL, NULL)");
        }
    }
}
