Skip to content

Commit dc5f939

Browse files
committed
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)`.
1 parent 2c00927 commit dc5f939

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/qr.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ pub(crate) const DCBACKUP_SCHEME_PREFIX: &str = "DCBACKUP";
4242

4343
/// Version written to Backups and Backup-QR-Codes.
4444
/// Imports will fail when they have a larger version.
45-
pub(crate) const DCBACKUP_VERSION: i32 = 3;
45+
pub(crate) const DCBACKUP_VERSION: i32 = 4;
4646

4747
/// Scanned QR code.
4848
#[derive(Debug, Clone, PartialEq, Eq)]

0 commit comments

Comments
 (0)