From a8bea777d7017379238d9597ec68c9a31a0f79c4 Mon Sep 17 00:00:00 2001 From: Mark McDowall Date: Tue, 18 Nov 2014 23:58:59 -0800 Subject: [PATCH] Fixed the migration to release restrictions --- .../Datastore/Migration/068_add_release_restrictions.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/NzbDrone.Core/Datastore/Migration/068_add_release_restrictions.cs b/src/NzbDrone.Core/Datastore/Migration/068_add_release_restrictions.cs index c643e29ab..a7cc93e0c 100644 --- a/src/NzbDrone.Core/Datastore/Migration/068_add_release_restrictions.cs +++ b/src/NzbDrone.Core/Datastore/Migration/068_add_release_restrictions.cs @@ -36,7 +36,7 @@ private void ConvertRestrictions(IDbConnection conn, IDbTransaction tran) using (IDbCommand insertCmd = conn.CreateCommand()) { insertCmd.Transaction = tran; - insertCmd.CommandText = "INSERT INTO Restrictions (Ignored, Tags) VALUES ('?', '[]')"; + insertCmd.CommandText = "INSERT INTO Restrictions (Ignored, Tags) VALUES (?, '[]')"; insertCmd.AddParameter(restrictions); insertCmd.ExecuteNonQuery();