Define SyncOutbox entity for iOS client #8

Open
opened 2026-10-30 20:57:05 -06:00 by west · 0 comments
Owner

📋 Local outbox table for tracking changes that need to be synced to the server.

🎯 Acceptance Criteria:

  • Entity defined with fields: id, action_type (create/update/delete), entity_type, entity_id, payload (JSON), sequence_number, server_synced_at
  • sequence_number is a local monotonic counter
  • server_synced_at is NULL until synced
  • Used by all repositories to queue mutations for sync

📝 Notes: This is the client-side outbox. Every local mutation appends an action here. The sync manager reads unsynced actions and sends them to the server.

📋 **Local outbox table for tracking changes that need to be synced to the server.** 🎯 **Acceptance Criteria:** - [ ] Entity defined with fields: id, action_type (create/update/delete), entity_type, entity_id, payload (JSON), sequence_number, server_synced_at - [ ] sequence_number is a local monotonic counter - [ ] server_synced_at is NULL until synced - [ ] Used by all repositories to queue mutations for sync 📝 **Notes:** This is the client-side outbox. Every local mutation appends an action here. The sync manager reads unsynced actions and sends them to the server.
Sign in to join this conversation.
No description provided.