Conditions | 1 |
Paths | 1 |
Total Lines | 9 |
Lines | 9 |
Ratio | 100 % |
Changes | 0 |
1 | <?php |
||
29 | public function down(Schema $schema) |
||
30 | { |
||
31 | // this down() migration is auto-generated, please modify it to your needs |
||
32 | $this->abortIf('postgresql' !== $this->connection->getDatabasePlatform()->getName(), 'Migration can only be executed safely on \'postgresql\'.'); |
||
33 | |||
34 | $this->addSql('ALTER TABLE swp_article DROP CONSTRAINT FK_FB21E858A372AB05'); |
||
35 | $this->addSql('DROP INDEX IDX_FB21E858A372AB05'); |
||
36 | $this->addSql('ALTER TABLE swp_article DROP feature_media'); |
||
37 | } |
||
38 | } |
||
39 |
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.