Skip to content

Commit

Permalink
Update project owner cascade persitance
Browse files Browse the repository at this point in the history
  • Loading branch information
subiabre committed Dec 10, 2024
1 parent b41830a commit 2a39cd7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Entity/Project/Project.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ class Project implements AccountingOwnerInterface
/**
* The User who created this Project.
*/
#[ORM\ManyToOne(inversedBy: 'projects')]
#[ORM\ManyToOne(inversedBy: 'projects', cascade: ['persist'])]
#[ORM\JoinColumn(nullable: false)]
private ?User $owner = null;

Expand Down

0 comments on commit 2a39cd7

Please sign in to comment.