| Conditions | 1 |
| Paths | 1 |
| Total Lines | 7 |
| Code Lines | 3 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 0 |
| CRAP Score | 2 |
| Changes | 0 | ||
| 1 | <?php declare(strict_types=1); |
||
| 22 | public function down(Schema $schema) : void |
||
| 23 | { |
||
| 24 | // this down() migration is auto-generated, please modify it to your needs |
||
| 25 | $this->abortIf($this->connection->getDatabasePlatform()->getName() !== 'mysql', 'Migration can only be executed safely on \'mysql\'.'); |
||
| 26 | |||
| 27 | $this->addSql('ALTER TABLE project__projects DROP FOREIGN KEY FK_636FB313B58C0B6E'); |
||
| 28 | $this->addSql('ALTER TABLE project__projects ADD CONSTRAINT FK_636FB313B58C0B6E FOREIGN KEY (product_owner_id) REFERENCES users__product_owner (id)'); |
||
| 29 | } |
||
| 31 |