fix: correct future schema version detection

This commit is contained in:
Greg Heartsfield 2022-10-08 13:15:48 -05:00
parent f9693f7ac3
commit 2739e49362

View File

@ -277,7 +277,7 @@ PRAGMA user_version=5;
info!("vacuumed DB after tags rebuild in {:?}", start.elapsed());
} else if curr_version == 6 {
debug!("Database version was already current (v6)");
} else if curr_version > 7 {
} else if curr_version > 6 {
panic!(
"Database version is newer than supported by this executable (v{})",
curr_version