Define SyncOutbox entity for server #9

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

📋 Server-side outbox table for tracking all changes from all devices.

🎯 Acceptance Criteria:

  • Entity defined with fields: id, action_type, entity_type, entity_id, payload (JSON), sequence_number, source_device_id, created_at
  • sequence_number is a server-wide monotonic counter
  • source_device_id tracks which device made the change
  • Used by sync endpoint to replay actions and resolve conflicts

📝 Notes: This is the server-side outbox. When a client syncs, its actions are replayed here. The server then sends back its own outbox actions for the client to replay.

📋 **Server-side outbox table for tracking all changes from all devices.** 🎯 **Acceptance Criteria:** - [ ] Entity defined with fields: id, action_type, entity_type, entity_id, payload (JSON), sequence_number, source_device_id, created_at - [ ] sequence_number is a server-wide monotonic counter - [ ] source_device_id tracks which device made the change - [ ] Used by sync endpoint to replay actions and resolve conflicts 📝 **Notes:** This is the server-side outbox. When a client syncs, its actions are replayed here. The server then sends back its own outbox actions for the client to replay.
Sign in to join this conversation.
No description provided.