mirror of
https://github.com/readest/readest.git
synced 2026-10-19 18:23:50 +00:00
#6662 records a book's page count at import, but only on the importing device. Other devices got a count only once someone opened the book, and a cloud-only book could not be counted locally at all. - Add a nullable books.page_count column (migration 028) and map it both ways. A pulled row without a count leaves the key off, so the pull merge keeps the local value. - The server merge keeps the row winner's count and falls back to the other side's, so a push without one (old clients, the KOReader and Calibre plugins, devices that never counted the book) never erases it, and a server row missing a count gets it filled in without a date-read reorder. Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| api | ||
| db | ||