pull/49/head
kunfei 5 years ago
parent cb60f3fc26
commit c5fef277ea
  1. 2
      app/src/main/java/io/legado/app/data/entities/SearchBook.kt

@ -11,7 +11,7 @@ import kotlinx.android.parcel.Parcelize
@Entity( @Entity(
tableName = "searchBooks", tableName = "searchBooks",
indices = [(Index(value = ["bookUrl"], unique = true)), indices = [(Index(value = ["bookUrl"], unique = true)),
(Index(value = ["bookSourceUrl"], unique = false))], (Index(value = ["origin"], unique = false))],
foreignKeys = [(ForeignKey( foreignKeys = [(ForeignKey(
entity = BookSource::class, entity = BookSource::class,
parentColumns = ["bookSourceUrl"], parentColumns = ["bookSourceUrl"],

Loading…
Cancel
Save