Add ability to reset some datas

- annotations
- tags
- entries
This commit is contained in:
Jeremy Benoist
2016-10-01 09:26:32 +02:00
parent e8331dd9e7
commit 206bade58a
18 changed files with 406 additions and 22 deletions

View File

@ -82,7 +82,7 @@ class Annotation
* @Exclude
*
* @ORM\ManyToOne(targetEntity="Wallabag\CoreBundle\Entity\Entry", inversedBy="annotations")
* @ORM\JoinColumn(name="entry_id", referencedColumnName="id")
* @ORM\JoinColumn(name="entry_id", referencedColumnName="id", onDelete="cascade")
*/
private $entry;