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