| Conditions | 1 |
| Paths | 1 |
| Total Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 15 | public function up(Schema $schema): void |
||
| 16 | { |
||
| 17 | // this up() migration is auto-generated, please modify it to your needs |
||
| 18 | $this->abortIf('postgresql' !== $this->connection->getDatabasePlatform()->getName(), 'Migration can only be executed safely on \'postgresql\'.'); |
||
| 19 | |||
| 20 | $this->addSql('ALTER TABLE swp_article ADD comments_count INT DEFAULT NULL'); |
||
| 21 | } |
||
| 22 | |||
| 31 |