vlcn-io / cr-sqlite

Convergent, Replicated SQLite. Multi-writer and CRDT support for SQLite
https://vlcn.io
MIT License
2.77k stars 76 forks source link

Demonstrate how to preserve constraints (uniqueness, foreign keys, check, etc.) when syncing through a central server #369

Open tantaman opened 1 year ago

tantaman commented 1 year ago

When syncing through a central server one can preserve any constraints they'd like. The server just needs to write the fixes for these constraints as a new database version to be synced down to clients.

Write up documentation on how to do this.