You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: optimistic locking for docs editor (prevent edit conflicts) (#22)
* fix: add optimistic locking to docs to prevent edit conflicts (#15)
- Migration 009: ADD COLUMN version INTEGER DEFAULT 1 to docs table
- PUT /api/v2/docs/:id: checks client version against DB, returns 409 if mismatch
- GET /api/v2/docs/:id: returns version field in response
- DocsEditor.vue: sends version on save, shows conflict warning on 409
Closes#15
* fix: address Quinn review — require version, structured 409, NOT NULL
0 commit comments