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