diff --git a/.build.yml b/.build.yml index f7a2f66..34ef734 100644 --- a/.build.yml +++ b/.build.yml @@ -124,7 +124,7 @@ tasks: # Now test the upgrade using the newer version which ../tw # Should be here from previous step - ../tw --profile outdated_profile fetch_user michaelmalice # Any operation other than `create_profile` should trigger the upgrade + ../tw fetch_user michaelmalice # Any operation other than `create_profile` should trigger the upgrade duration=$SECONDS echo "Task completed in $(($duration / 60))m$(($duration % 60))s." diff --git a/persistence/versions.go b/persistence/versions.go index 474ff2a..bbfcd8f 100644 --- a/persistence/versions.go +++ b/persistence/versions.go @@ -87,7 +87,7 @@ func (p Profile) check_and_update_version() error { if ENGINE_DATABASE_VERSION > version { fmt.Printf(terminal_utils.COLOR_YELLOW) fmt.Printf("================================================\n") - fmt.Printf("Database version is out of date. Upgrading database from version v%d to version v%d!\n", version, ENGINE_DATABASE_VERSION) + fmt.Printf("Database version is out of date. Upgrading database from version %d to version %d!\n", version, ENGINE_DATABASE_VERSION) fmt.Printf(terminal_utils.COLOR_RESET) return p.UpgradeFromXToY(version, ENGINE_DATABASE_VERSION) }