Add default pageCount value to fix PSQLException (#2039)

* Add default pageCount value to fix PSQLException

* Update CHANGELOG.md
This commit is contained in:
AeonLucid
2026-05-17 01:07:56 +02:00
committed by GitHub
parent 16a14e6ac2
commit a4b647972e
2 changed files with 2 additions and 0 deletions

View File

@@ -287,6 +287,7 @@ object Chapter {
this[ChapterTable.isRead] = false
this[ChapterTable.isBookmarked] = false
this[ChapterTable.isDownloaded] = false
this[ChapterTable.pageCount] = -1
// is recognized chapter number
if (chapter.chapterNumber >= 0f && chapter.chapterNumber in deletedChapterNumbers) {