<?php
declare(strict_types=1);
namespace CoreMigrations;
use Doctrine\DBAL\Schema\Schema;
use Doctrine\Migrations\AbstractMigration;
/**
* Auto-generated Migration: Please modify to your needs!
*/
final class Version20221122145445 extends AbstractMigration
{
public function getDescription(): string
{
return '';
}
public function up(Schema $schema): void
{
// this up() migration is auto-generated, please modify it to your needs
$this->addSql('CREATE INDEX validated_at ON suppliers_orders_bundle__receipt_note (validated_at)');
$this->addSql('CREATE INDEX quantity ON suppliers_orders_bundle__receipt_note_line (quantity)');
$this->addSql('CREATE INDEX quantity_received ON suppliers_orders_bundle__receipt_note_line (quantity_received)');
}
public function down(Schema $schema): void
{
// this down() migration is auto-generated, please modify it to your needs
$this->addSql('DROP INDEX validated_at ON suppliers_orders_bundle__receipt_note');
$this->addSql('DROP INDEX quantity ON suppliers_orders_bundle__receipt_note_line');
$this->addSql('DROP INDEX quantity_received ON suppliers_orders_bundle__receipt_note_line');
}
}