Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit ee559389 authored by Marten Gajda's avatar Marten Gajda
Browse files

Add VERSION column, implements #778

This commit adds a read-only task VERSION column which is incremented upon any update or a task (including sync-adapter updates).

The column serves two purposes:

* safe transactions by asserting a specific version before updating a task
* quick detection if a specific task has been modified

The former could be used by sync-adapters to ensure a task has not been updated while being synced.
Notifications will make use of the latter to avoid unnecessary updates of task notifications for unchanged tasks.
parent 8cd309ec
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment