| Conditions | 1 |
| Paths | 1 |
| Total Lines | 10 |
| Lines | 10 |
| Ratio | 100 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 26 | public function down(Schema $schema): void |
||
| 27 | { |
||
| 28 | // this down() migration is auto-generated, please modify it to your needs |
||
| 29 | $this->abortIf('postgresql' !== $this->connection->getDatabasePlatform()->getName(), 'Migration can only be executed safely on \'postgresql\'.'); |
||
| 30 | |||
| 31 | $this->addSql('ALTER TABLE swp_package_preview_token DROP CONSTRAINT fk_ad1ca87234ecb4e6'); |
||
| 32 | $this->addSql('ALTER TABLE swp_package_preview_token ADD CONSTRAINT fk_ad1ca87234ecb4e6 FOREIGN KEY (route_id) REFERENCES swp_route (id) NOT DEFERRABLE INITIALLY IMMEDIATE'); |
||
| 33 | $this->addSql('ALTER TABLE swp_publish_destination DROP CONSTRAINT fk_8c71004a34ecb4e6'); |
||
| 34 | $this->addSql('ALTER TABLE swp_publish_destination ADD CONSTRAINT fk_8c71004a34ecb4e6 FOREIGN KEY (route_id) REFERENCES swp_route (id) NOT DEFERRABLE INITIALLY IMMEDIATE'); |
||
| 35 | } |
||
| 36 | } |
||
| 37 |