From b5dc0a03ed9ee51cc9d69ea63745128303580a51 Mon Sep 17 00:00:00 2001 From: Mikal Stordal Date: Fri, 29 Sep 2023 10:11:52 +0200 Subject: [PATCH] fix: fix migration for older databases (<3.6(?)) --- Shoko.Server/Databases/DatabaseFixes.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Shoko.Server/Databases/DatabaseFixes.cs b/Shoko.Server/Databases/DatabaseFixes.cs index eb50ce61c..9bd6b02b2 100644 --- a/Shoko.Server/Databases/DatabaseFixes.cs +++ b/Shoko.Server/Databases/DatabaseFixes.cs @@ -68,7 +68,7 @@ public static void MigrateGroupFilterToFilterPreset() GroupFilterName = (string)fields[2], ApplyToSeries = (int)fields[3], BaseCondition = (int)fields[4], - Locked = (int)fields[5], + Locked = (int?)fields[5], FilterType = (int)fields[6], InvisibleInClients = (int)fields[7] };