<?phpdeclare(strict_types=1);namespaceDoctrineMigrations;useDoctrine\DBAL\Schema\Schema;useDoctrine\Migrations\AbstractMigration;/** * Auto-generated Migration: Please modify to your needs! */finalclassVersion20210211161633extendsAbstractMigration{publicfunctiongetDescription():string{return'';}publicfunctionup(Schema$schema):void{// this up() migration is auto-generated, please modify it to your needs$this->addSql('CREATE UNIQUE INDEX adherentcurrency ON account_adherent (adherent_id, currency)');$this->addSql('CREATE UNIQUE INDEX comptoircurrency ON account_comptoir (comptoir_id, currency)');$this->addSql('CREATE UNIQUE INDEX groupecurrency ON account_groupe (groupe_id, currency)');$this->addSql('CREATE UNIQUE INDEX prestatairecurrency ON account_prestataire (prestataire_id, currency)');$this->addSql('CREATE UNIQUE INDEX siegecurrency ON account_siege (siege_id, currency)');}publicfunctiondown(Schema$schema):void{// this down() migration is auto-generated, please modify it to your needs$this->addSql('DROP INDEX adherentcurrency ON account_adherent');$this->addSql('DROP INDEX comptoircurrency ON account_comptoir');$this->addSql('DROP INDEX groupecurrency ON account_groupe');$this->addSql('DROP INDEX prestatairecurrency ON account_prestataire');$this->addSql('DROP INDEX siegecurrency ON account_siege');}}