Private
Public Access
1
0

first attempt at trying to keep track of locally send id

This commit is contained in:
2025-09-12 12:04:31 -07:00
parent 6261351598
commit 8304b68a64
5 changed files with 113 additions and 11 deletions

View File

@@ -0,0 +1,3 @@
-- Drop the alias mapping table
DROP TABLE IF EXISTS `message_aliases`;

View File

@@ -0,0 +1,7 @@
-- Add table to map local (client) IDs to server message GUIDs
CREATE TABLE IF NOT EXISTS `message_aliases` (
`local_id` TEXT NOT NULL PRIMARY KEY,
`server_id` TEXT NOT NULL UNIQUE,
`conversation_id` TEXT NOT NULL
);