<?php
declare(strict_types=1);
namespace ProductsBundleMigrations;
use Doctrine\DBAL\Schema\Schema;
use Doctrine\Migrations\AbstractMigration;
final class Version20240905100211 extends AbstractMigration
{
public function up(Schema $schema): void
{
$this->addSql('CREATE INDEX deleted_at ON products_bundle__declination_image (deleted_at)');
$this->addSql('CREATE INDEX created_at ON products_bundle__declination_image (created_at)');
$this->addSql('CREATE INDEX updated_at ON products_bundle__declination_image (updated_at)');
$this->addSql('CREATE INDEX deleted_at ON products_bundle__ean13 (deleted_at)');
$this->addSql('CREATE INDEX created_at ON products_bundle__ean13 (created_at)');
$this->addSql('CREATE INDEX updated_at ON products_bundle__ean13 (updated_at)');
$this->addSql('CREATE INDEX deleted_at ON products_bundle__pack_product (deleted_at)');
$this->addSql('CREATE INDEX created_at ON products_bundle__pack_product (created_at)');
$this->addSql('CREATE INDEX updated_at ON products_bundle__pack_product (updated_at)');
$this->addSql('CREATE INDEX deleted_at ON products_bundle__product_context (deleted_at)');
$this->addSql('CREATE INDEX created_at ON products_bundle__product_context (created_at)');
$this->addSql('CREATE INDEX updated_at ON products_bundle__product_context (updated_at)');
$this->addSql('CREATE INDEX deleted_at ON products_bundle__product_feature (deleted_at)');
$this->addSql('CREATE INDEX created_at ON products_bundle__product_feature (created_at)');
$this->addSql('CREATE INDEX updated_at ON products_bundle__product_feature (updated_at)');
$this->addSql('CREATE INDEX is_cover ON products_bundle__product_image (is_cover)');
$this->addSql('CREATE INDEX deleted_at ON products_bundle__product_image (deleted_at)');
$this->addSql('CREATE INDEX created_at ON products_bundle__product_image (created_at)');
$this->addSql('CREATE INDEX updated_at ON products_bundle__product_image (updated_at)');
$this->addSql('CREATE INDEX deleted_at ON products_bundle__related_product (deleted_at)');
$this->addSql('CREATE INDEX created_at ON products_bundle__related_product (created_at)');
$this->addSql('CREATE INDEX updated_at ON products_bundle__related_product (updated_at)');
$this->addSql('CREATE INDEX deleted_at ON products_bundle__substitute_product (deleted_at)');
$this->addSql('CREATE INDEX created_at ON products_bundle__substitute_product (created_at)');
$this->addSql('CREATE INDEX updated_at ON products_bundle__substitute_product (updated_at)');
}
public function down(Schema $schema): void
{
$this->addSql('DROP INDEX deleted_at ON products_bundle__declination_image');
$this->addSql('DROP INDEX created_at ON products_bundle__declination_image');
$this->addSql('DROP INDEX updated_at ON products_bundle__declination_image');
$this->addSql('DROP INDEX deleted_at ON products_bundle__ean13');
$this->addSql('DROP INDEX created_at ON products_bundle__ean13');
$this->addSql('DROP INDEX updated_at ON products_bundle__ean13');
$this->addSql('DROP INDEX deleted_at ON products_bundle__pack_product');
$this->addSql('DROP INDEX created_at ON products_bundle__pack_product');
$this->addSql('DROP INDEX updated_at ON products_bundle__pack_product');
$this->addSql('DROP INDEX deleted_at ON products_bundle__product_context');
$this->addSql('DROP INDEX created_at ON products_bundle__product_context');
$this->addSql('DROP INDEX updated_at ON products_bundle__product_context');
$this->addSql('DROP INDEX deleted_at ON products_bundle__product_feature');
$this->addSql('DROP INDEX created_at ON products_bundle__product_feature');
$this->addSql('DROP INDEX updated_at ON products_bundle__product_feature');
$this->addSql('DROP INDEX is_cover ON products_bundle__product_image');
$this->addSql('DROP INDEX deleted_at ON products_bundle__product_image');
$this->addSql('DROP INDEX created_at ON products_bundle__product_image');
$this->addSql('DROP INDEX updated_at ON products_bundle__product_image');
$this->addSql('DROP INDEX deleted_at ON products_bundle__related_product');
$this->addSql('DROP INDEX created_at ON products_bundle__related_product');
$this->addSql('DROP INDEX updated_at ON products_bundle__related_product');
$this->addSql('DROP INDEX deleted_at ON products_bundle__substitute_product');
$this->addSql('DROP INDEX created_at ON products_bundle__substitute_product');
$this->addSql('DROP INDEX updated_at ON products_bundle__substitute_product');
}
}