From b2a097c6ae7c624a71db5f9b3cc23a1520c5118d Mon Sep 17 00:00:00 2001 From: Luca Date: Sun, 24 Jul 2022 22:09:24 +0200 Subject: [PATCH] Ignore primary key conflicts in 'room_members' --- internal/matrix/store.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/matrix/store.go b/internal/matrix/store.go index 3d07674..1bc6f49 100644 --- a/internal/matrix/store.go +++ b/internal/matrix/store.go @@ -35,7 +35,7 @@ func (s sqlStore) CreateTables() error { room_id TEXT, user_id TEXT, - PRIMARY KEY (room_id, user_id) + PRIMARY KEY (room_id, user_id) ON CONFLICT IGNORE ); `, }