Skip to content

Commit

Permalink
Fix CascadeRemoveOrderTest by setting another joincolumn null on delete.
Browse files Browse the repository at this point in the history
  • Loading branch information
beberlei committed Apr 17, 2021
1 parent a5b27f7 commit 330ce2a
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,7 @@ class CascadeRemoveOrderEntityG
* targetEntity="Doctrine\Tests\ORM\Functional\CascadeRemoveOrderEntityO",
* inversedBy="oneToMany"
* )
* @JoinColumn(nullable=true, onDelete="SET NULL")
*/
private $ownerO;

Expand Down

0 comments on commit 330ce2a

Please sign in to comment.