<?php
declare(strict_types=1);

use Phinx\Migration\AbstractMigration;

final class TaskInc45414 extends AbstractMigration
{
    public function up(): void
    {
        $this->execute(<<<SQL
            UPDATE seguro.informacoes_bancarias_propostas 
               SET fl_titular_conta = false 
             WHERE id_proposta IN (938492, 938413, 938236, 938162, 938370, 938364, 938226, 938218, 932774, 938243, 937600, 938232, 938195, 936473, 937403, 936552, 937867, 937724, 938520, 938544, 938606, 938607, 938605, 938559, 938672, 938695, 938700, 938716, 938718, 938725, 937218, 932211, 938878, 938933, 938923, 938995, 939003, 938813);

SQL
        );
    }

    public function down(): void
    {
        $this->execute(<<<SQL
            UPDATE seguro.informacoes_bancarias_propostas 
               SET fl_titular_conta = true 
             WHERE id_proposta IN (938492, 938413, 938236, 938162, 938370, 938364, 938226, 938218, 932774, 938243, 937600, 938232, 938195, 936473, 937403, 936552, 937867, 937724, 938520, 938544, 938606, 938607, 938605, 938559, 938672, 938695, 938700, 938716, 938718, 938725, 937218, 932211, 938878, 938933, 938923, 938995, 939003, 938813);

SQL
        );
    }
}
