Files
matrix-rust-sdk/crates/matrix-sdk-sqlite/migrations/006_drop_outbound_group_sessions.sql
Damir Jelić cd865d21c3 Drop outbound group sessions in the SQLite store
The format of the outbound group session struct has changed. We nowadays correctly rotate the group session if we can't restore it, but it's still good to avoid logging the error in this case.
2023-04-13 14:48:14 +00:00

5 lines
242 B
SQL

-- Outbound group sessions changed their format, now we remember which members
-- received a withheld code. To not throw errors when trying to restore such
-- sessions just drop them so they get rotated.
DELETE FROM "outbound_group_session";