Conditions | 1 |
Paths | 1 |
Total Lines | 8 |
Code Lines | 4 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
28 | public function down(Schema $schema) |
||
29 | { |
||
30 | // this down() migration is auto-generated, please modify it to your needs |
||
31 | $this->abortIf($this->connection->getDatabasePlatform()->getName() !== 'mysql', 'Migration can only be executed safely on \'mysql\'.'); |
||
32 | |||
33 | $this->addSql('DROP INDEX UNIQ_105A9084180C698989D9B62 ON sylius_product_translation'); |
||
34 | $this->addSql('CREATE UNIQUE INDEX UNIQ_105A908989D9B62 ON sylius_product_translation (slug)'); |
||
35 | } |
||
36 | } |
||
37 |