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,
|
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,
|
||||||
|
@ -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:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user