<?php
declare(strict_types=1);
namespace DoctrineMigrations;
use Doctrine\DBAL\Schema\Schema;
use Doctrine\Migrations\AbstractMigration;
final class Version20220713154959 extends AbstractMigration
{
public function up(Schema $schema): void
{
$this->addSql('ALTER TABLE pictogram ADD searchable TINYINT(1) DEFAULT NULL');
$this->addSql('ALTER TABLE tag ADD searchable TINYINT(1) DEFAULT NULL');
}
public function down(Schema $schema): void
{
$this->addSql('ALTER TABLE pictogram DROP searchable');
$this->addSql('ALTER TABLE tag DROP searchable');
}
}