<?php
declare(strict_types=1);
namespace InventoriesBundleMigrations;
use Doctrine\DBAL\Schema\Schema;
use Doctrine\Migrations\AbstractMigration;
final class Version20231206123655 extends AbstractMigration
{
public function up(Schema $schema): void
{
$this->addSql('CREATE INDEX reference ON inventories_bundle__inventory (reference)');
$this->addSql('CREATE INDEX name ON inventories_bundle__inventory (name)');
$this->addSql('CREATE INDEX deleted_at ON inventories_bundle__inventory (deleted_at)');
$this->addSql('CREATE INDEX created_at ON inventories_bundle__inventory (created_at)');
$this->addSql('CREATE INDEX updated_at ON inventories_bundle__inventory (updated_at)');
$this->addSql('CREATE INDEX deleted_at ON inventories_bundle__inventory_original_product (deleted_at)');
$this->addSql('CREATE INDEX created_at ON inventories_bundle__inventory_original_product (created_at)');
$this->addSql('CREATE INDEX updated_at ON inventories_bundle__inventory_original_product (updated_at)');
$this->addSql('CREATE INDEX deleted_at ON inventories_bundle__inventory_original_product_quantity (deleted_at)');
$this->addSql('CREATE INDEX created_at ON inventories_bundle__inventory_original_product_quantity (created_at)');
$this->addSql('CREATE INDEX updated_at ON inventories_bundle__inventory_original_product_quantity (updated_at)');
$this->addSql('CREATE INDEX deleted_at ON inventories_bundle__inventory_product (deleted_at)');
$this->addSql('CREATE INDEX created_at ON inventories_bundle__inventory_product (created_at)');
$this->addSql('CREATE INDEX updated_at ON inventories_bundle__inventory_product (updated_at)');
$this->addSql('CREATE INDEX deleted_at ON inventories_bundle__inventory_product_quantity (deleted_at)');
$this->addSql('CREATE INDEX created_at ON inventories_bundle__inventory_product_quantity (created_at)');
$this->addSql('CREATE INDEX updated_at ON inventories_bundle__inventory_product_quantity (updated_at)');
}
public function down(Schema $schema): void
{
$this->addSql('DROP INDEX reference ON inventories_bundle__inventory');
$this->addSql('DROP INDEX name ON inventories_bundle__inventory');
$this->addSql('DROP INDEX deleted_at ON inventories_bundle__inventory');
$this->addSql('DROP INDEX created_at ON inventories_bundle__inventory');
$this->addSql('DROP INDEX updated_at ON inventories_bundle__inventory');
$this->addSql('DROP INDEX deleted_at ON inventories_bundle__inventory_original_product');
$this->addSql('DROP INDEX created_at ON inventories_bundle__inventory_original_product');
$this->addSql('DROP INDEX updated_at ON inventories_bundle__inventory_original_product');
$this->addSql('DROP INDEX deleted_at ON inventories_bundle__inventory_original_product_quantity');
$this->addSql('DROP INDEX created_at ON inventories_bundle__inventory_original_product_quantity');
$this->addSql('DROP INDEX updated_at ON inventories_bundle__inventory_original_product_quantity');
$this->addSql('DROP INDEX deleted_at ON inventories_bundle__inventory_product');
$this->addSql('DROP INDEX created_at ON inventories_bundle__inventory_product');
$this->addSql('DROP INDEX updated_at ON inventories_bundle__inventory_product');
$this->addSql('DROP INDEX deleted_at ON inventories_bundle__inventory_product_quantity');
$this->addSql('DROP INDEX created_at ON inventories_bundle__inventory_product_quantity');
$this->addSql('DROP INDEX updated_at ON inventories_bundle__inventory_product_quantity');
}
}