pull/2565/head
kunfei 2 years ago
parent fcfd64d05c
commit eb5798045f
  1. 1717
      app/schemas/io.legado.app.data.AppDatabase/57.json
  2. 3
      app/src/main/java/io/legado/app/data/AppDatabase.kt
  3. 2
      app/src/main/java/io/legado/app/data/entities/RssSource.kt

File diff suppressed because it is too large Load Diff

@ -20,7 +20,7 @@ val appDb by lazy {
}
@Database(
version = 56,
version = 57,
exportSchema = true,
entities = [Book::class, BookGroup::class, BookSource::class, BookChapter::class,
ReplaceRule::class, SearchBook::class, SearchKeyword::class, Cookie::class,
@ -41,6 +41,7 @@ val appDb by lazy {
AutoMigration(from = 53, to = 54),
AutoMigration(from = 54, to = 55, spec = DatabaseMigrations.Migration_54_55::class),
AutoMigration(from = 55, to = 56),
AutoMigration(from = 56, to = 57)
]
)
abstract class AppDatabase : RoomDatabase() {

@ -59,6 +59,8 @@ data class RssSource(
var style: String? = null,
var enableJs: Boolean = true,
var loadWithBaseUrl: Boolean = true,
/**注入js**/
var injectJs: String? = null,
/*其它规则*/
// 最后更新时间,用于排序
@ColumnInfo(defaultValue = "0")

Loading…
Cancel
Save