Conditions | 1 |
Paths | 1 |
Total Lines | 9 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
28 | public function down(Schema $schema): void |
||
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('ALTER TABLE sylius_product DROP FOREIGN KEY FK_677B9B7414959723'); |
||
34 | $this->addSql('DROP TABLE bitbag_mollie_product_type'); |
||
35 | $this->addSql('DROP INDEX IDX_677B9B7414959723 ON sylius_product'); |
||
36 | $this->addSql('ALTER TABLE sylius_product DROP product_type_id'); |
||
37 | } |
||
39 |