fix: fix migration 152

It was converting OutFailed to OutDraft
instead of converting OutPreparing to OutFailed.
This commit is contained in:
link2xt
2026-05-11 22:04:35 +02:00
committed by l
parent 6fb2f27831
commit 31c74d82bd

View File

@@ -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,
)