pull/1251/head
gedoor 3 years ago
parent bd758a5f55
commit d69e5e7bd6
  1. 1
      app/.gitignore
  2. 1022
      app/schemas/io.legado.app.data.AppDatabase/1.json
  3. 1176
      app/schemas/io.legado.app.data.AppDatabase/10.json
  4. 1182
      app/schemas/io.legado.app.data.AppDatabase/11.json
  5. 1188
      app/schemas/io.legado.app.data.AppDatabase/12.json
  6. 1194
      app/schemas/io.legado.app.data.AppDatabase/13.json
  7. 1194
      app/schemas/io.legado.app.data.AppDatabase/14.json
  8. 1200
      app/schemas/io.legado.app.data.AppDatabase/15.json
  9. 1226
      app/schemas/io.legado.app.data.AppDatabase/16.json
  10. 1226
      app/schemas/io.legado.app.data.AppDatabase/17.json
  11. 1258
      app/schemas/io.legado.app.data.AppDatabase/18.json
  12. 1265
      app/schemas/io.legado.app.data.AppDatabase/19.json
  13. 1028
      app/schemas/io.legado.app.data.AppDatabase/2.json
  14. 1271
      app/schemas/io.legado.app.data.AppDatabase/20.json
  15. 1283
      app/schemas/io.legado.app.data.AppDatabase/21.json
  16. 1277
      app/schemas/io.legado.app.data.AppDatabase/22.json
  17. 1283
      app/schemas/io.legado.app.data.AppDatabase/23.json
  18. 1324
      app/schemas/io.legado.app.data.AppDatabase/24.json
  19. 1368
      app/schemas/io.legado.app.data.AppDatabase/25.json
  20. 1392
      app/schemas/io.legado.app.data.AppDatabase/26.json
  21. 1392
      app/schemas/io.legado.app.data.AppDatabase/27.json
  22. 1404
      app/schemas/io.legado.app.data.AppDatabase/28.json
  23. 1410
      app/schemas/io.legado.app.data.AppDatabase/29.json
  24. 1036
      app/schemas/io.legado.app.data.AppDatabase/3.json
  25. 1485
      app/schemas/io.legado.app.data.AppDatabase/30.json
  26. 1422
      app/schemas/io.legado.app.data.AppDatabase/31.json
  27. 1422
      app/schemas/io.legado.app.data.AppDatabase/32.json
  28. 1417
      app/schemas/io.legado.app.data.AppDatabase/33.json
  29. 1423
      app/schemas/io.legado.app.data.AppDatabase/34.json
  30. 1429
      app/schemas/io.legado.app.data.AppDatabase/35.json
  31. 1093
      app/schemas/io.legado.app.data.AppDatabase/4.json
  32. 1093
      app/schemas/io.legado.app.data.AppDatabase/5.json
  33. 1131
      app/schemas/io.legado.app.data.AppDatabase/6.json
  34. 1131
      app/schemas/io.legado.app.data.AppDatabase/7.json
  35. 1157
      app/schemas/io.legado.app.data.AppDatabase/8.json
  36. 1164
      app/schemas/io.legado.app.data.AppDatabase/9.json
  37. 12
      app/src/main/java/io/legado/app/data/AppDatabase.kt

1
app/.gitignore vendored

@ -1,2 +1 @@
/build /build
/schemas

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

@ -27,7 +27,9 @@ val appDb by lazy {
RssSource::class, Bookmark::class, RssArticle::class, RssReadRecord::class, RssSource::class, Bookmark::class, RssArticle::class, RssReadRecord::class,
RssStar::class, TxtTocRule::class, ReadRecord::class, HttpTTS::class, Cache::class, RssStar::class, TxtTocRule::class, ReadRecord::class, HttpTTS::class, Cache::class,
RuleSub::class], RuleSub::class],
autoMigrations = [AutoMigration(from = 34, to = 35)] autoMigrations = [
AutoMigration(from = 33, to = 35),
]
) )
abstract class AppDatabase : RoomDatabase() { abstract class AppDatabase : RoomDatabase() {
@ -62,7 +64,7 @@ abstract class AppDatabase : RoomDatabase() {
migration_19_20, migration_20_21, migration_21_22, migration_22_23, migration_19_20, migration_20_21, migration_21_22, migration_22_23,
migration_23_24, migration_24_25, migration_25_26, migration_26_27, migration_23_24, migration_24_25, migration_25_26, migration_26_27,
migration_27_28, migration_28_29, migration_29_30, migration_30_31, migration_27_28, migration_28_29, migration_29_30, migration_30_31,
migration_31_32, migration_32_33, migration_33_34 migration_31_32, migration_32_33
) )
.allowMainThreadQueries() .allowMainThreadQueries()
.addCallback(dbCallback) .addCallback(dbCallback)
@ -334,12 +336,6 @@ abstract class AppDatabase : RoomDatabase() {
} }
} }
private val migration_33_34 = object : Migration(33, 34) {
override fun migrate(database: SupportSQLiteDatabase) {
database.execSQL("ALTER TABLE `book_groups` ADD `cover` TEXT")
}
}
} }
} }
Loading…
Cancel
Save