Skip to content

Commit

Permalink
🗃️ Updated weekshecule entity
Browse files Browse the repository at this point in the history
  • Loading branch information
PHPLukaas committed May 28, 2024
1 parent 3b84b90 commit 3a9ac33
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion backend/.php-cs-fixer.cache

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion backend/src/Entity/WeekSchedule.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class WeekSchedule
#[ORM\Column(length: 255)]
private ?string $code = null;

#[ORM\OneToMany(targetEntity: DaySchedule::class, mappedBy: 'weekSchedule')]
#[ORM\OneToMany(targetEntity: DaySchedule::class, mappedBy: 'weekSchedule', cascade: ['persist', 'remove'])]
private Collection $DaySchedule;

public function __construct()
Expand Down

0 comments on commit 3a9ac33

Please sign in to comment.