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:
parent
2cbd57db40
commit
88404bfb28
@ -53,7 +53,6 @@ val libraryManga: (Long, Long, String, String?, String?, String?, List<String>?,
|
||||
favorite,
|
||||
lastUpdate,
|
||||
nextUpdate,
|
||||
calculateInterval,
|
||||
initialized,
|
||||
viewerFlags,
|
||||
chapterFlags,
|
||||
@ -63,6 +62,7 @@ val libraryManga: (Long, Long, String, String?, String?, String?, List<String>?,
|
||||
filteredScanlators,
|
||||
// SY <--
|
||||
updateStrategy,
|
||||
calculateInterval,
|
||||
),
|
||||
category = category,
|
||||
totalChapters = totalCount,
|
||||
|
@ -123,7 +123,7 @@ UPDATE mangas SET
|
||||
date_added = coalesce(:dateAdded, date_added),
|
||||
filtered_scanlators = coalesce(:filteredScanlators, filtered_scanlators),
|
||||
update_strategy = coalesce(:updateStrategy, update_strategy),
|
||||
calculate_interval = coalesce(:calculateInterval, calculate_interval),
|
||||
calculate_interval = coalesce(:calculateInterval, calculate_interval)
|
||||
WHERE _id = :mangaId;
|
||||
|
||||
selectLastInsertedRowId:
|
||||
|
Loading…
x
Reference in New Issue
Block a user