From c5fef277ea0120bd4c18ba82739db370db3c545b Mon Sep 17 00:00:00 2001 From: kunfei Date: Tue, 19 Nov 2019 22:26:43 +0800 Subject: [PATCH] up --- app/src/main/java/io/legado/app/data/entities/SearchBook.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/io/legado/app/data/entities/SearchBook.kt b/app/src/main/java/io/legado/app/data/entities/SearchBook.kt index 8203413d6..de3466580 100644 --- a/app/src/main/java/io/legado/app/data/entities/SearchBook.kt +++ b/app/src/main/java/io/legado/app/data/entities/SearchBook.kt @@ -11,7 +11,7 @@ import kotlinx.android.parcel.Parcelize @Entity( tableName = "searchBooks", indices = [(Index(value = ["bookUrl"], unique = true)), - (Index(value = ["bookSourceUrl"], unique = false))], + (Index(value = ["origin"], unique = false))], foreignKeys = [(ForeignKey( entity = BookSource::class, parentColumns = ["bookSourceUrl"],