<?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 Version20220628144318 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 produse_online DROP INDEX FK_E09F8C8AED3C9ECB, ADD UNIQUE INDEX UNIQ_E09F8C8AED3C9ECB (idProdus)');
}
public function down(Schema $schema): void
{
// this down() migration is auto-generated, please modify it to your needs
$this->addSql('ALTER TABLE produse_online DROP INDEX UNIQ_E09F8C8AED3C9ECB, ADD INDEX FK_E09F8C8AED3C9ECB (idProdus)');
}
}