Files
matrix-rust-sdk/crates/matrix-sdk-sqlite/migrations/002_reset_olm_hash.sql
Jonas Platte e12b9e3027 refactor(sqlite): Encode olm hashes with rmp instead of serde_json
… like everything else in the sqlite crypto store.
2023-02-08 15:44:17 +01:00

5 lines
188 B
SQL

-- Hashes in the olm_hash table were initially stored as JSON, even though
-- everything else is MessagePack. Alongside this migration, the encoding is
-- updated.
DELETE FROM "olm_hash";