<?php
declare(strict_types=1);

use Phinx\Migration\AbstractMigration;

final class Task2108111409 extends AbstractMigration
{
    public function up(): void
    {
        $this->execute(<<<SQL
CREATE INDEX idx_boletos_prorrogacoes_proposta_parcela ON seguro.propostas_boletos_prorrogacoes(id_proposta, nr_parcela);
SQL
);
    }

    public function down(): void
    {
        $this->execute(<<<SQL
DROP INDEX seguro.idx_boletos_prorrogacoes_proposta_parcela;
SQL
);
    }
}
