<?php
declare(strict_types=1);

use Phinx\Migration\AbstractMigration;

final class TaskSr54584 extends AbstractMigration
{
    public function up(): void
    {
        $this->execute(<<<SQL
    INSERT INTO sistema.configuracao_sistema (fl_ativo, fl_del, ds_nome, ds_valor) VALUES ('t','f','DATA_ALTERACAO_PDF_PROPOSTA','2020-03-22');
SQL
        );
    }

    public function down(): void
    {
        $this->execute(<<<SQL
        DELETE FROM sistema.configuracao_sistema where fl_ativo = 't' AND fl_del = 'f' AND ds_nome = 'DATA_ALTERACAO_PDF_PROPOSTA' AND ds_valor = '2020-01-01';
    SQL
            );
    }
}
