| Conditions | 1 |
| Paths | 1 |
| Total Lines | 9 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 29 | public function down(Schema $schema) |
||
| 30 | { |
||
| 31 | // this down() migration is auto-generated, please modify it to your needs |
||
| 32 | $this->abortIf($this->connection->getDatabasePlatform()->getName() !== 'mysql', 'Migration can only be executed safely on \'mysql\'.'); |
||
| 33 | |||
| 34 | $this->addSql('ALTER TABLE sylius_payment_method DROP FOREIGN KEY FK_A75B0B0DF23D6140'); |
||
| 35 | $this->addSql('DROP INDEX IDX_A75B0B0DF23D6140 ON sylius_payment_method'); |
||
| 36 | $this->addSql('ALTER TABLE sylius_payment_method ADD gateway VARCHAR(255) NOT NULL COLLATE utf8_unicode_ci, DROP gateway_config_id'); |
||
| 37 | } |
||
| 38 | } |
||
| 39 |