dendrite/keyserver/storage/tables
Kegan Dougal 5dc360481a Remodel how device list change IDs are created
Previously we made them using the offset Kafka supplied.
We don't run Kafka anymore, so now we make the SQL table assign
the change ID via an AUTOINCREMENTing ID. Redesign the
`keyserver_key_changes` table to have `UNIQUE(user_id)` so we
don't accumulate key changes forevermore, we now have at most 1
row per user which contains the highest change ID.

This needs a SQL migration.
2022-01-19 18:59:50 +00:00
..
interface.go Remodel how device list change IDs are created 2022-01-19 18:59:50 +00:00