From af654e245c2e9575baf4564ce31429ee365969f7 Mon Sep 17 00:00:00 2001 From: Mark McDowall Date: Mon, 4 Oct 2021 08:06:48 -0700 Subject: [PATCH] Fixed: Bad migration resulting Must Not Contain being overwritten by Must Contain --- .../Datastore/Migration/162_release_profile_to_array.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/NzbDrone.Core/Datastore/Migration/162_release_profile_to_array.cs b/src/NzbDrone.Core/Datastore/Migration/162_release_profile_to_array.cs index 6311dd577..3f87202ce 100644 --- a/src/NzbDrone.Core/Datastore/Migration/162_release_profile_to_array.cs +++ b/src/NzbDrone.Core/Datastore/Migration/162_release_profile_to_array.cs @@ -36,7 +36,7 @@ namespace NzbDrone.Core.Datastore.Migration var ignored = ignoredObj == DBNull.Value ? Enumerable.Empty() - : requiredObj.ToString().Split(new[] { ',' }, StringSplitOptions.RemoveEmptyEntries); + : ignoredObj.ToString().Split(new[] { ',' }, StringSplitOptions.RemoveEmptyEntries); using (var updateCmd = conn.CreateCommand()) {