|
|
@ -20,7 +20,7 @@ val appDb by lazy { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
@Database( |
|
|
|
@Database( |
|
|
|
version = 52, |
|
|
|
version = 53, |
|
|
|
exportSchema = true, |
|
|
|
exportSchema = true, |
|
|
|
entities = [Book::class, BookGroup::class, BookSource::class, BookChapter::class, |
|
|
|
entities = [Book::class, BookGroup::class, BookSource::class, BookChapter::class, |
|
|
|
ReplaceRule::class, SearchBook::class, SearchKeyword::class, Cookie::class, |
|
|
|
ReplaceRule::class, SearchBook::class, SearchKeyword::class, Cookie::class, |
|
|
@ -36,7 +36,8 @@ val appDb by lazy { |
|
|
|
AutoMigration(from = 48, to = 49), |
|
|
|
AutoMigration(from = 48, to = 49), |
|
|
|
AutoMigration(from = 49, to = 50), |
|
|
|
AutoMigration(from = 49, to = 50), |
|
|
|
AutoMigration(from = 50, to = 51), |
|
|
|
AutoMigration(from = 50, to = 51), |
|
|
|
AutoMigration(from = 51, to = 52) |
|
|
|
AutoMigration(from = 51, to = 52), |
|
|
|
|
|
|
|
AutoMigration(from = 52, to = 53) |
|
|
|
] |
|
|
|
] |
|
|
|
) |
|
|
|
) |
|
|
|
abstract class AppDatabase : RoomDatabase() { |
|
|
|
abstract class AppDatabase : RoomDatabase() { |
|
|
|