forked from Archives/Athou_commafeed
don't index blobs
This commit is contained in:
@@ -11,8 +11,6 @@ import javax.persistence.Temporal;
|
||||
import javax.persistence.TemporalType;
|
||||
import javax.persistence.Transient;
|
||||
|
||||
import org.hibernate.annotations.Index;
|
||||
|
||||
import com.google.common.collect.Sets;
|
||||
|
||||
@Entity
|
||||
@@ -21,7 +19,6 @@ import com.google.common.collect.Sets;
|
||||
public class Feed extends AbstractModel {
|
||||
|
||||
@Column(length = 2048, nullable = false, unique = true)
|
||||
@Index(name = "feed_index")
|
||||
private String url;
|
||||
|
||||
@Transient
|
||||
|
||||
@@ -22,7 +22,6 @@ import org.hibernate.annotations.Index;
|
||||
public class FeedEntry extends AbstractModel {
|
||||
|
||||
@Column(length = 2048, nullable = false, unique = true)
|
||||
@Index(name = "guid_index")
|
||||
private String guid;
|
||||
|
||||
@ManyToOne
|
||||
|
||||
@@ -112,6 +112,7 @@ public class SubscriptionsREST extends AbstractREST {
|
||||
@GET
|
||||
@Path("deleteCategory")
|
||||
public Response deleteCategory(@QueryParam("id") Long id) {
|
||||
feedCategoryService.deleteById(id);
|
||||
return Response.ok().build();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user