komikku/app/src/main/java/eu/kanade/tachiyomi
Andreas a8cb77cc7e Migrate History screen database calls to SQLDelight (#6933)
* Migrate History screen database call to SQLDelight

- Move all migrations to SQLDelight
- Move all tables to SQLDelight

Co-authored-by: inorichi <3521738+inorichi@users.noreply.github.com>

* Changes from review comments

* Add adapters to database

* Remove logging of database version in App

* Change query name for paging source queries

* Update migrations

* Make SQLite Callback handle migration

- To ensure it updates the database

* Use SQLDelight Schema version for Callback database version

Co-authored-by: inorichi <3521738+inorichi@users.noreply.github.com>
(cherry picked from commit b1f46ed8302411fbd884bbc3c26fe28a378fd91a)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/data/database/DatabaseHelper.kt
#	app/src/main/java/eu/kanade/tachiyomi/data/database/DbOpenCallback.kt
#	app/src/main/java/eu/kanade/tachiyomi/data/database/queries/HistoryQueries.kt
#	app/src/main/java/eu/kanade/tachiyomi/data/database/tables/CategoryTable.kt
#	app/src/main/java/eu/kanade/tachiyomi/data/database/tables/MangaTable.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/manga/MangaController.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/setting/database/ClearDatabasePresenter.kt
#	build.gradle.kts
2022-04-22 10:08:31 -04:00
..
data Migrate History screen database calls to SQLDelight (#6933) 2022-04-22 10:08:31 -04:00
extension Minor cleanup 2022-04-15 17:50:26 -04:00
network Increase default OkHttp call timeout to 2 minutes 2022-04-21 17:06:18 -04:00
source Always remove manga title from if it prefixes chapter names (related to #6913) 2022-04-15 17:52:00 -04:00
ui Migrate History screen database calls to SQLDelight (#6933) 2022-04-22 10:08:31 -04:00
util Show different update notification for F-Droid installations 2022-04-15 17:48:41 -04:00
widget Fix AppBar not unlifting when scrolling using ComposeView (#6952) 2022-04-21 17:06:31 -04:00
App.kt Migrate History screen to Compose (#6922) 2022-04-21 17:06:03 -04:00
AppInfo.kt Add compress to CBZ on download (#6360) 2022-01-01 15:24:12 -05:00
AppModule.kt Migrate History screen database calls to SQLDelight (#6933) 2022-04-22 10:08:31 -04:00
Migrations.kt Remove reader tapping option in favor of disabled nav layouts 2022-04-09 19:37:09 -04:00