geary/sql/version-007.sql
Jim Nelson f54f805501 Prefetch mail in background according to age of message: Closes #6365
This introduces a background account synchronizer into Geary that
prefetches email folder-by-folder to a user-configurable epoch.  The
current default is 15 days.

Additional work to make this user-visible is coming, in particular with

The primary purpose for this feature is to allow "full" conversations
(#4293), which needs more of the mailbox stored locally to do searching.
2013-02-25 20:18:37 -08:00

9 lines
441 B
SQL

--
-- Gmail has a serious bug: its STATUS command returns a message count that includes chat messages,
-- but the SELECT/EXAMINE result codes do not. That means its difficult to confirm changes to a
-- mailbox without SELECTing it each pass. This schema modification allows for Geary to store both
-- the SELECT/EXAMINE count and STATUS count in the database for comparison.
--
ALTER TABLE FolderTable ADD COLUMN last_seen_status_total;