Commit 7f2396a
authored
feat: don't store duplicated message columns (#581)
- channel_id/topic/sortkey_timestamp (in the row key)
- expiry (in the cell timestamps)
(we can always add these back to messages later if they are worth
having)
- make add_user conditional, erroring out if the user already exists
- utilize row_limit in message reads
- enforce non null columns on deserialization
Closes: SYNC-4070
Closes: SYNC-4099
Closes: SYNC-41061 parent 8026449 commit 7f2396a
5 files changed
Lines changed: 140 additions & 195 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
376 | 376 | | |
377 | 377 | | |
378 | 378 | | |
379 | | - | |
380 | 379 | | |
381 | 380 | | |
382 | 381 | | |
| |||
385 | 384 | | |
386 | 385 | | |
387 | 386 | | |
388 | | - | |
389 | | - | |
390 | | - | |
391 | | - | |
392 | | - | |
393 | 387 | | |
394 | 388 | | |
395 | 389 | | |
| |||
0 commit comments