<?php
declare(strict_types=1);
namespace DoctrineMigrations;
use Doctrine\DBAL\Schema\Schema;
use Doctrine\Migrations\AbstractMigration;
final class Version20211110224159 extends AbstractMigration
{
public function getDescription(): string
{
return 'Match';
}
public function up(Schema $schema): void
{
$this->addSql('ALTER TABLE address_config ADD postal VARCHAR(255) DEFAULT NULL');
$this->addSql('ALTER TABLE search_match ADD remind_time_to_accept DATE DEFAULT NULL, ADD remind_time_to_pay DATE DEFAULT NULL');
}
public function down(Schema $schema): void
{
$this->addSql('ALTER TABLE address_config DROP postal');
$this->addSql('ALTER TABLE search_match DROP remind_time_to_accept, DROP remind_time_to_pay');
}
public function isTransactional(): bool
{
return false;
}
}