<?php
declare(strict_types=1);

use Phinx\Migration\AbstractMigration;

final class Task2101211311 extends AbstractMigration
{
    public function up(): void
    {
        $this->execute(<<<SQL
alter table sistema.cep_logradouros alter column tp_logradouro drop not null;
alter table sistema.cep_logradouros alter column ds_nome_logradouro drop not null;
SQL
);
    }

    public function down(): void
    {
        $this->execute(<<<SQL
alter table sistema.cep_logradouros alter column tp_logradouro set not null;
alter table sistema.cep_logradouros alter column ds_nome_logradouro set not null;
SQL
        );
    }
}
