mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2024-12-12 13:04:20 -05:00
parent
17fa4c7ca7
commit
7513006b09
1
changelog.d/8256.misc
Normal file
1
changelog.d/8256.misc
Normal file
@ -0,0 +1 @@
|
||||
Track the latest event for every destination and room for catch-up after federation outage.
|
@ -23,7 +23,7 @@ CREATE TABLE IF NOT EXISTS destination_rooms (
|
||||
-- the ID of the room in question
|
||||
room_id TEXT NOT NULL REFERENCES rooms (room_id),
|
||||
-- the stream_ordering of the event
|
||||
stream_ordering INTEGER NOT NULL,
|
||||
stream_ordering BIGINT NOT NULL,
|
||||
PRIMARY KEY (destination, room_id)
|
||||
-- We don't declare a foreign key on stream_ordering here because that'd mean
|
||||
-- we'd need to either maintain an index (expensive) or do a table scan of
|
||||
|
Loading…
Reference in New Issue
Block a user