]> git.immae.eu Git - github/wallabag/wallabag.git/commitdiff
Change ManyToMany between entry & tag
authorJeremy Benoist <jeremy.benoist@gmail.com>
Mon, 30 May 2016 12:34:11 +0000 (14:34 +0200)
committerThomas Citharel <tcit@tcit.fr>
Thu, 23 Jun 2016 07:15:50 +0000 (09:15 +0200)
Following https://gist.github.com/Ocramius/3121916

Be sure to remove the related entity when removing an entity.

Let say you have Entry -> EntryTag -> Tag.
If you remove the entry:

 - before that commit, the EntryTag will stay (at least using SQLite).
 - with that commit, the related entity is removed


No differences found