mirror of
https://github.com/Athou/commafeed.git
synced 2026-03-21 21:37:29 +00:00
faster feed cleanup
This commit is contained in:
@@ -4,7 +4,6 @@ import java.util.Date;
|
||||
import java.util.Set;
|
||||
|
||||
import javax.persistence.Cacheable;
|
||||
import javax.persistence.CascadeType;
|
||||
import javax.persistence.Column;
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.OneToMany;
|
||||
@@ -108,7 +107,7 @@ public class Feed extends AbstractModel {
|
||||
@Column(length = 40)
|
||||
private String lastContentHash;
|
||||
|
||||
@OneToMany(mappedBy = "feed", cascade = CascadeType.REMOVE)
|
||||
@OneToMany(mappedBy = "feed")
|
||||
private Set<FeedFeedEntry> entryRelationships;
|
||||
|
||||
@OneToMany(mappedBy = "feed")
|
||||
|
||||
Reference in New Issue
Block a user