|
|
@ -20,7 +20,7 @@ val appDb by lazy { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
@Database( |
|
|
|
@Database( |
|
|
|
version = 57, |
|
|
|
version = 58, |
|
|
|
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, |
|
|
@ -41,7 +41,8 @@ val appDb by lazy { |
|
|
|
AutoMigration(from = 53, to = 54), |
|
|
|
AutoMigration(from = 53, to = 54), |
|
|
|
AutoMigration(from = 54, to = 55, spec = DatabaseMigrations.Migration_54_55::class), |
|
|
|
AutoMigration(from = 54, to = 55, spec = DatabaseMigrations.Migration_54_55::class), |
|
|
|
AutoMigration(from = 55, to = 56), |
|
|
|
AutoMigration(from = 55, to = 56), |
|
|
|
AutoMigration(from = 56, to = 57) |
|
|
|
AutoMigration(from = 56, to = 57), |
|
|
|
|
|
|
|
AutoMigration(from = 57, to = 58) |
|
|
|
] |
|
|
|
] |
|
|
|
) |
|
|
|
) |
|
|
|
abstract class AppDatabase : RoomDatabase() { |
|
|
|
abstract class AppDatabase : RoomDatabase() { |
|
|
|