From a0c03025d8dede3b967b39c11176fb03d0b7a92d Mon Sep 17 00:00:00 2001 From: Fedor Indutny <79877362+indutny-signal@users.noreply.github.com> Date: Tue, 8 Nov 2022 09:17:21 -0800 Subject: [PATCH] Relax schema 41 migration --- ts/sql/migrations/41-uuid-keys.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ts/sql/migrations/41-uuid-keys.ts b/ts/sql/migrations/41-uuid-keys.ts index c38f8a196..d7736de7f 100644 --- a/ts/sql/migrations/41-uuid-keys.ts +++ b/ts/sql/migrations/41-uuid-keys.ts @@ -351,7 +351,7 @@ export default function updateToSchemaVersion41( const updateIdentityKey = db.prepare( ` - UPDATE identityKeys + UPDATE OR REPLACE identityKeys SET id = $newId, json = json_set(