readest/docker/volumes
Huang Xin 385889d57d
feat(sync): sync the import-time page count across devices (#6775)
#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>
2026-10-13 20:45:34 +02:00
..
api feat(docker/podman): self-hosting with docker/podman compose (#3312) 2026-02-18 14:28:10 +01:00
db feat(sync): sync the import-time page count across devices (#6775) 2026-10-13 20:45:34 +02:00