mirror of
https://github.com/hoernschen/dendrite.git
synced 2025-03-01 06:12:59 +00:00
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. |
||
---|---|---|
.. | ||
api.go |