<?php
declare(strict_types=1);
namespace ProductsBundleMigrations;
use Doctrine\DBAL\Schema\Schema;
use Doctrine\Migrations\AbstractMigration;
final class Version20230621110535 extends AbstractMigration
{
public function up(Schema $schema): void
{
$this->addSql('ALTER TABLE products_bundle__pack_product DROP INDEX UNIQ_D52AD2E09941A932, ADD INDEX IDX_D52AD2E09941A932 (declination_id)');
}
public function down(Schema $schema): void
{
$this->addSql('ALTER TABLE products_bundle__pack_product DROP INDEX IDX_D52AD2E09941A932, ADD UNIQUE INDEX UNIQ_D52AD2E09941A932 (declination_id)');
}
}