Skip to main content
Makenot
.
work
Discover
Use Cases
Docs
Fan+
Login
Join
max
/
makenotwork
lane-a-pipeline
main
tag: launch-2026-06-01
Files
Commits
Issues
makenotwork
/
server
/
migrations
/
084_sync_log_compaction.sql
282 B · 6 lines
History
Blame
Raw
1
--
Track per-device pull cursor for intelligent sync log compaction.
2
--
This allows pruning entries that ALL devices have already pulled,
3
--
rather than relying solely on age-based retention (90 days).
4
5
ALTER
TABLE
sync_devices ADD COLUMN last_pulled_seq
BIGINT
NOT NULL
DEFAULT
0
;
6