From 7c4bf5cc8fab3b146584e42cdd5a09c2a8af60b6 Mon Sep 17 00:00:00 2001 From: Greg Heartsfield Date: Fri, 16 Dec 2022 08:21:00 -0600 Subject: [PATCH] fix: run db migration for v9 --- src/schema.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/schema.rs b/src/schema.rs index db45ae4..7d9ad92 100644 --- a/src/schema.rs +++ b/src/schema.rs @@ -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{}.",