mirror of
https://github.com/wallabag/wallabag.git
synced 2024-12-17 21:26:27 +00:00
Merge pull request #1606 from wallabag/v2-tag-cascade
Remove tag relation when removing an entry
This commit is contained in:
commit
eff6a406f3
1 changed files with 1 additions and 1 deletions
|
@ -168,7 +168,7 @@ class Entry
|
||||||
private $user;
|
private $user;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @ORM\ManyToMany(targetEntity="Tag", inversedBy="entries", cascade={"persist"})
|
* @ORM\ManyToMany(targetEntity="Tag", inversedBy="entries", cascade={"persist", "remove"})
|
||||||
* @ORM\JoinTable
|
* @ORM\JoinTable
|
||||||
*
|
*
|
||||||
* @Groups({"entries_for_user", "export_all"})
|
* @Groups({"entries_for_user", "export_all"})
|
||||||
|
|
Loading…
Reference in a new issue