addSql('CREATE UNIQUE INDEX UNIQ_E28446850F7084E918020D9 ON entity (tld_id, handle)'); $this->addSql('ALTER TABLE entity_event ALTER entity_uid SET NOT NULL'); } public function down(Schema $schema): void { // this down() migration is auto-generated, please modify it to your needs $this->addSql('DROP INDEX UNIQ_E28446850F7084E918020D9'); $this->addSql('ALTER TABLE entity_event ALTER entity_uid DROP NOT NULL'); } }