fix: run db migration for v9

This commit is contained in:
Greg Heartsfield 2022-12-16 08:21:00 -06:00
parent e2de162931
commit 7c4bf5cc8f

View File

@ -160,6 +160,10 @@ pub fn upgrade_db(conn: &mut PooledConnection) -> Result<()> {
if curr_version == 7 {
curr_version = mig_7_to_8(conn)?;
}
if curr_version == 8 {
curr_version = mig_8_to_9(conn)?;
}
if curr_version == DB_VERSION {
info!(
"All migration scripts completed successfully. Welcome to v{}.",