do not delete team if linked entity is deleted (#1053)

This commit is contained in:
Kevin Papst
2019-08-21 01:04:58 +02:00
committed by GitHub
parent 7cd17154fc
commit 8cd7f7de3f
4 changed files with 4 additions and 4 deletions

View File

@@ -140,7 +140,7 @@ class Timesheet implements EntityWithMetaFields
/**
* @var Tag[]|ArrayCollection
*
* @ORM\ManyToMany(targetEntity="Tag", inversedBy="timesheets", cascade={"remove", "persist"})
* @ORM\ManyToMany(targetEntity="Tag", inversedBy="timesheets", cascade={"persist"})
* @ORM\JoinTable(
* name="kimai2_timesheet_tags",
* joinColumns={