Conditions | 1 |
Paths | 1 |
Total Lines | 8 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php declare(strict_types=1); |
||
21 | public function down(Schema $schema) : void |
||
22 | { |
||
23 | $this->abortIf($this->connection->getDatabasePlatform()->getName() !== 'postgresql', 'Migration can only be executed safely on \'postgresql\'.'); |
||
24 | |||
25 | $this->addSql('ALTER TABLE swp_article ADD extra TEXT DEFAULT \'a:0:{}\''); |
||
26 | $this->addSql('COMMENT ON COLUMN swp_article.extra IS \'(DC2Type:array)\''); |
||
27 | |||
28 | } |
||
29 | } |
||
30 |