Fix manga chapter flags not working

The new column is appended to the end, so ordering does matter here.

(cherry picked from commit f459515dd7bcecbd5dffef135c17f921c93efd52)

# Conflicts:
#	data/src/main/java/tachiyomi/data/manga/MangaMapper.kt
#	data/src/main/sqldelight/tachiyomi/data/mangas.sq
This commit is contained in:
arkon 2023-04-28 16:44:28 -04:00 committed by Jobobby04
parent 2cbd57db40
commit 88404bfb28
2 changed files with 2 additions and 2 deletions

View File

@ -53,7 +53,6 @@ val libraryManga: (Long, Long, String, String?, String?, String?, List<String>?,
favorite, favorite,
lastUpdate, lastUpdate,
nextUpdate, nextUpdate,
calculateInterval,
initialized, initialized,
viewerFlags, viewerFlags,
chapterFlags, chapterFlags,
@ -63,6 +62,7 @@ val libraryManga: (Long, Long, String, String?, String?, String?, List<String>?,
filteredScanlators, filteredScanlators,
// SY <-- // SY <--
updateStrategy, updateStrategy,
calculateInterval,
), ),
category = category, category = category,
totalChapters = totalCount, totalChapters = totalCount,

View File

@ -123,7 +123,7 @@ UPDATE mangas SET
date_added = coalesce(:dateAdded, date_added), date_added = coalesce(:dateAdded, date_added),
filtered_scanlators = coalesce(:filteredScanlators, filtered_scanlators), filtered_scanlators = coalesce(:filteredScanlators, filtered_scanlators),
update_strategy = coalesce(:updateStrategy, update_strategy), update_strategy = coalesce(:updateStrategy, update_strategy),
calculate_interval = coalesce(:calculateInterval, calculate_interval), calculate_interval = coalesce(:calculateInterval, calculate_interval)
WHERE _id = :mangaId; WHERE _id = :mangaId;
selectLastInsertedRowId: selectLastInsertedRowId: