<?php
declare(strict_types=1);

use Phinx\Migration\AbstractMigration;

final class TaskInc65048 extends AbstractMigration
{
    public function up(): void
    {
        $row = $this->fetchRow('SELECT id FROM seguro.propostas WHERE id = 1096771');
        if ($row['id']) {
            $this->execute("SELECT manutencao.atualizar_status (1096771,   8, 1096771, NULL, FALSE, NULL, '10637436', TRUE,  315, FALSE)");
        }
    }

    public function down(): void
    {
        $row = $this->fetchRow('SELECT id FROM seguro.propostas WHERE id = 1096771');
        if ($row['id']) {
            $this->execute("SELECT manutencao.atualizar_status (1096771, 162, 1064455, NULL, FALSE, NULL, '10442150', TRUE, NULL, FALSE)");
        }
    }
}
