| Conditions | 1 |
| Paths | 1 |
| Total Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 23 | public function down(Schema $schema): void |
||
| 24 | { |
||
| 25 | // this down() migration is auto-generated, please modify it to your needs |
||
| 26 | $this->abortIf('postgresql' !== $this->connection->getDatabasePlatform()->getName(), 'Migration can only be executed safely on \'postgresql\'.'); |
||
| 27 | |||
| 28 | $this->addSql('ALTER TABLE swp_article DROP comments_count'); |
||
| 29 | } |
||
| 30 | } |
||
| 31 |