From 31c74d82bd3ccf91934adb605c7e763182270312 Mon Sep 17 00:00:00 2001 From: link2xt Date: Mon, 11 May 2026 22:04:35 +0200 Subject: [PATCH] fix: fix migration 152 It was converting OutFailed to OutDraft instead of converting OutPreparing to OutFailed. --- src/sql/migrations.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sql/migrations.rs b/src/sql/migrations.rs index ce5cf718c..cb64beb5f 100644 --- a/src/sql/migrations.rs +++ b/src/sql/migrations.rs @@ -2378,7 +2378,7 @@ ALTER TABLE contacts ADD COLUMN name_normalized TEXT; sql.execute_migration( " UPDATE msgs SET state=26 WHERE state=28; -- Change OutMdnRcvd to OutDelivered. -UPDATE msgs SET state=19 WHERE state=24; -- Change OutPreparing to OutFailed. +UPDATE msgs SET state=24 WHERE state=18; -- Change OutPreparing to OutFailed. ", migration_version, )