| Conditions | 1 |
| Paths | 1 |
| Total Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 28 | public function down(Schema $schema) |
||
| 29 | { |
||
| 30 | // this down() migration is auto-generated, please modify it to your needs |
||
| 31 | $this->abortIf('postgresql' !== $this->connection->getDatabasePlatform()->getName(), 'Migration can only be executed safely on \'postgresql\'.'); |
||
| 32 | |||
| 33 | $this->addSql('COMMENT ON COLUMN swp_article.metadata IS NULL'); |
||
| 34 | $this->addSql('ALTER TABLE swp_article ALTER metadata TYPE JSON USING metadata::json'); |
||
| 35 | } |
||
| 36 | } |
||
| 37 |
This class, trait or interface has been deprecated. The supplier of the file has supplied an explanatory message.
The explanatory message should give you some clue as to whether and when the type will be removed from the class and what other constant to use instead.