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"],