mirror of
https://github.com/gedoor/legado.git
synced 2025-08-10 00:52:30 +00:00
替换规则添加排除字段
This commit is contained in:
1885
app/schemas/io.legado.app.data.AppDatabase/68.json
Normal file
1885
app/schemas/io.legado.app.data.AppDatabase/68.json
Normal file
File diff suppressed because it is too large
Load Diff
@@ -21,7 +21,7 @@ val appDb by lazy {
|
||||
}
|
||||
|
||||
@Database(
|
||||
version = 67,
|
||||
version = 68,
|
||||
exportSchema = true,
|
||||
entities = [Book::class, BookGroup::class, BookSource::class, BookChapter::class,
|
||||
ReplaceRule::class, SearchBook::class, SearchKeyword::class, Cookie::class,
|
||||
@@ -52,7 +52,8 @@ val appDb by lazy {
|
||||
AutoMigration(from = 63, to = 64),
|
||||
AutoMigration(from = 64, to = 65, spec = DatabaseMigrations.Migration_64_65::class),
|
||||
AutoMigration(from = 65, to = 66),
|
||||
AutoMigration(from = 66, to = 67)
|
||||
AutoMigration(from = 66, to = 67),
|
||||
AutoMigration(from = 67, to = 68)
|
||||
]
|
||||
)
|
||||
abstract class AppDatabase : RoomDatabase() {
|
||||
|
||||
@@ -40,6 +40,8 @@ data class ReplaceRule(
|
||||
//作用于正文
|
||||
@ColumnInfo(defaultValue = "1")
|
||||
var scopeContent: Boolean = true,
|
||||
//排除范围
|
||||
var excludeScope: String? = null,
|
||||
//是否启用
|
||||
@ColumnInfo(defaultValue = "1")
|
||||
var isEnabled: Boolean = true,
|
||||
|
||||
Reference in New Issue
Block a user