Allow searching calls with legacy conversation id as peerId

This commit is contained in:
Jamie Kyle 2023-08-09 09:48:55 -07:00 committed by GitHub
parent e78da67a51
commit af0beb6d8e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 48 additions and 8 deletions

View file

@ -36,7 +36,7 @@ export default function updateToSchemaVersion87(
CREATE TABLE callsHistory (
callId TEXT PRIMARY KEY,
peerId TEXT NOT NULL, -- conversation uuid | groupId | roomId
peerId TEXT NOT NULL, -- conversation id (legacy) | uuid | groupId | roomId
ringerId TEXT DEFAULT NULL, -- ringer uuid
mode TEXT NOT NULL, -- enum "Direct" | "Group"
type TEXT NOT NULL, -- enum "Audio" | "Video" | "Group"