From 0d2ad5c56c9a3a485c17b6b6d32ea01a6bc8bfcf Mon Sep 17 00:00:00 2001 From: link2xt Date: Fri, 28 Nov 2025 20:28:41 +0000 Subject: [PATCH] feat!: increase backup version from 3 to 4 Migration 140 merged in version 2.28.0 introduced `NOT NULL` transport_id columns, so old versions of core not aware of it fail e.g. when they expect conflict on `(folder)` column rather than `(transport_id, folder)`. --- src/qr.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/qr.rs b/src/qr.rs index 3c1bdb59f5..b33077dac1 100644 --- a/src/qr.rs +++ b/src/qr.rs @@ -42,7 +42,7 @@ pub(crate) const DCBACKUP_SCHEME_PREFIX: &str = "DCBACKUP"; /// Version written to Backups and Backup-QR-Codes. /// Imports will fail when they have a larger version. -pub(crate) const DCBACKUP_VERSION: i32 = 3; +pub(crate) const DCBACKUP_VERSION: i32 = 4; /// Scanned QR code. #[derive(Debug, Clone, PartialEq, Eq)]