mirror of
https://github.com/element-hq/synapse.git
synced 2026-07-26 23:22:02 +00:00
Add primary key to profile_updates_per_user
This commit is contained in:
@@ -38,6 +38,9 @@ CREATE INDEX IF NOT EXISTS profile_updates_inserted_ts ON profile_updates (inser
|
||||
|
||||
-- Track which local users should receive each profile update.
|
||||
CREATE TABLE IF NOT EXISTS profile_updates_per_user (
|
||||
id $%AUTO_INCREMENT_PRIMARY_KEY%$,
|
||||
|
||||
-- Stream ID reference to `profile_updates`
|
||||
stream_id BIGINT NOT NULL REFERENCES profile_updates (stream_id),
|
||||
|
||||
-- The full user ID of the local user that should receive the profile update.
|
||||
|
||||
Reference in New Issue
Block a user