| Conditions | 1 |
| Paths | 1 |
| Total Lines | 10 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 30 | public function down(Schema $schema) |
||
| 31 | { |
||
| 32 | // this down() migration is auto-generated, please modify it to your needs |
||
| 33 | $this->abortIf('postgresql' !== $this->connection->getDatabasePlatform()->getName(), 'Migration can only be executed safely on \'postgresql\'.'); |
||
| 34 | |||
| 35 | $this->addSql('ALTER TABLE swp_article_sources DROP CONSTRAINT fk_e38d33537294869c'); |
||
| 36 | $this->addSql('ALTER TABLE swp_article_sources DROP CONSTRAINT fk_e38d3353953c1c61'); |
||
| 37 | $this->addSql('ALTER TABLE swp_article_sources ADD CONSTRAINT fk_e38d33537294869c FOREIGN KEY (article_id) REFERENCES swp_article (id) ON DELETE CASCADE NOT DEFERRABLE INITIALLY IMMEDIATE'); |
||
| 38 | $this->addSql('ALTER TABLE swp_article_sources ADD CONSTRAINT fk_e38d3353953c1c61 FOREIGN KEY (source_id) REFERENCES swp_article_source (id) ON DELETE CASCADE NOT DEFERRABLE INITIALLY IMMEDIATE'); |
||
| 39 | } |
||
| 40 | } |
||
| 41 |
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.