synapse-product/tests/storage/databases
Patrick Cloke 230a831c73
Attempt to delete more duplicate rows in receipts_linearized table. ()
The previous assumption was that the stream_id column was unique
(for a room ID, receipt type, user ID tuple), but this turned out to be
incorrect.

Now find the max stream ID, then map this back to a database-specific
row identifier and delete other rows which match the (room ID, receipt type,
user ID) tuple, but *not* the row ID.
2023-02-01 15:45:10 -05:00
..
main Attempt to delete more duplicate rows in receipts_linearized table. () 2023-02-01 15:45:10 -05:00
__init__.py add a cache to have_seen_event () 2021-06-01 12:04:47 +01:00