| Conditions | 1 | 
| Paths | 1 | 
| Total Lines | 10 | 
| Code Lines | 6 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Changes | 0 | ||
| 1 | <?php | ||
| 16 | public function up(Schema $schema) | ||
| 17 |     { | ||
| 18 | // this up() migration is auto-generated, please modify it to your needs | ||
| 19 | $this->abortIf($this->connection->getDatabasePlatform()->getName() !== 'mysql', 'Migration can only be executed safely on \'mysql\'.'); | ||
| 20 | |||
| 21 |         $this->addSql('DROP INDEX product_image_code_idx ON sylius_product_image'); | ||
| 22 |         $this->addSql('DROP INDEX taxon_image_code_idx ON sylius_taxon_image'); | ||
| 23 |         $this->addSql('ALTER TABLE sylius_product_image CHANGE code `type` VARCHAR(255)'); | ||
| 24 |         $this->addSql('ALTER TABLE sylius_taxon_image CHANGE code `type` VARCHAR(255)'); | ||
| 25 | } | ||
| 26 | |||
| 41 |