<?php
declare(strict_types=1);
namespace DoctrineMigrations;
use Doctrine\DBAL\Schema\Schema;
use Doctrine\Migrations\AbstractMigration;
/**
* Auto-generated Migration: Please modify to your needs!
*/
final class Version20211013123324 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('ALTER TABLE order_address DROP INDEX UNIQ_FB34C6CA8FF7BE3, ADD INDEX IDX_FB34C6CA8FF7BE3 (pd_order_id)');
}
public function down(Schema $schema): void
{
// this down() migration is auto-generated, please modify it to your needs
$this->addSql('ALTER TABLE order_address DROP INDEX IDX_FB34C6CA8FF7BE3, ADD UNIQUE INDEX UNIQ_FB34C6CA8FF7BE3 (pd_order_id)');
}
}