pull/32/head
kunfei 5 years ago
parent 2ef7058191
commit 119fd0c79d
  1. 2
      app/src/main/java/io/legado/app/data/entities/BookChapter.kt

@ -11,7 +11,7 @@ import kotlinx.android.parcel.Parcelize
@Entity(
tableName = "chapters",
primaryKeys = ["url", "bookUrl"],
indices = [(Index(value = ["bookUrl"], unique = true)), (Index(value = ["bookUrl", "index"], unique = true))],
indices = [(Index(value = ["bookUrl"], unique = false)), (Index(value = ["bookUrl", "index"], unique = true))],
foreignKeys = [(ForeignKey(
entity = Book::class,
parentColumns = ["bookUrl"],

Loading…
Cancel
Save