mirror of
https://github.com/scsibug/nostr-rs-relay.git
synced 2024-11-22 09:09:07 -05:00
fix: correct future schema version detection
This commit is contained in:
parent
f9693f7ac3
commit
2739e49362
|
@ -277,7 +277,7 @@ PRAGMA user_version=5;
|
||||||
info!("vacuumed DB after tags rebuild in {:?}", start.elapsed());
|
info!("vacuumed DB after tags rebuild in {:?}", start.elapsed());
|
||||||
} else if curr_version == 6 {
|
} else if curr_version == 6 {
|
||||||
debug!("Database version was already current (v6)");
|
debug!("Database version was already current (v6)");
|
||||||
} else if curr_version > 7 {
|
} else if curr_version > 6 {
|
||||||
panic!(
|
panic!(
|
||||||
"Database version is newer than supported by this executable (v{})",
|
"Database version is newer than supported by this executable (v{})",
|
||||||
curr_version
|
curr_version
|
||||||
|
|
Loading…
Reference in New Issue
Block a user