Conditions | 1 |
Paths | 1 |
Total Lines | 9 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
31 | public function down(Schema $schema) : void |
||
32 | { |
||
33 | // this down() migration is auto-generated, please modify it to your needs |
||
34 | $this->abortIf($this->connection->getDatabasePlatform()->getName() !== 'mysql', 'Migration can only be executed safely on \'mysql\'.'); |
||
35 | |||
36 | $this->addSql('ALTER TABLE sylius_product DROP FOREIGN KEY FK_677B9B7414959723'); |
||
37 | $this->addSql('DROP TABLE bitbag_mollie_product_type'); |
||
38 | $this->addSql('DROP INDEX IDX_677B9B7414959723 ON sylius_product'); |
||
39 | $this->addSql('ALTER TABLE sylius_product DROP product_type_id'); |
||
40 | } |
||
42 |