Skip to content

Commit c5be966

Browse files
committed
Bug 1961680 - Bump the Suggest DB schema version after incorrectly downgrading it
1 parent e1b42aa commit c5be966

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

components/suggest/src/schema.rs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ use sql_support::{
2323
/// `clear_database()` by adding their names to `conditional_tables`, unless
2424
/// they are cleared via a deletion trigger or there's some other good
2525
/// reason not to do so.
26-
pub const VERSION: u32 = 35;
26+
pub const VERSION: u32 = 36;
2727

2828
/// The current Suggest database schema.
2929
pub const SQL: &str = "
@@ -645,6 +645,10 @@ impl ConnectionInitializer for SuggestConnectionInitializer<'_> {
645645
)?;
646646
Ok(())
647647
}
648+
35 => {
649+
// The commit that added this migration was reverted.
650+
Ok(())
651+
}
648652
_ => Err(open_database::Error::IncompatibleVersion(version)),
649653
}
650654
}

0 commit comments

Comments
 (0)