From a4f40971dd319a33904a63ebb935f40a16f3985d Mon Sep 17 00:00:00 2001 From: Christopher Snowhill Date: Sun, 12 Jun 2022 01:57:47 -0700 Subject: [PATCH] [SQLite Store] Every schema upgrade should process Every schema upgrade process should fall through to the next highest version number, so they should all run, if the user has somehow upgraded their database from such an old version. Signed-off-by: Christopher Snowhill --- Utils/SQLiteStore.m | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Utils/SQLiteStore.m b/Utils/SQLiteStore.m index 6a52ac8f3..dbd23286f 100644 --- a/Utils/SQLiteStore.m +++ b/Utils/SQLiteStore.m @@ -622,7 +622,7 @@ static SQLiteStore *g_sharedStore = NULL; DLog(@"SQLite error: %s", error); return nil; } - break; + // break; case 1: // Schema 1 to 2: Add channelconfig integer field to the knowntracks table @@ -630,7 +630,7 @@ static SQLiteStore *g_sharedStore = NULL; DLog(@"SQLite error: %s", error); return nil; } - break; + // break; case 2: // Schema 2 to 3: Add arthash blob field to the artdictionary table, requires transmutation @@ -686,7 +686,7 @@ static SQLiteStore *g_sharedStore = NULL; } } - break; + // break; default: break;