<?php
declare(strict_types=1);
namespace ProductsBundleMigrations;
use Doctrine\DBAL\Schema\Schema;
use Doctrine\Migrations\AbstractMigration;
final class Version20231212092736 extends AbstractMigration
{
public function up(Schema $schema): void
{
$this->addSql('CREATE UNIQUE INDEX `all` ON products_bundle__search_association (product_id, declination_id, search_word_id)');
}
public function down(Schema $schema): void
{
$this->addSql('DROP INDEX `all` ON products_bundle__search_association');
}
}