1
0
Fork 0
mirror of https://github.com/Sonarr/Sonarr synced 2025-03-15 08:29:27 +00:00

Fixed the migration to release restrictions

This commit is contained in:
Mark McDowall 2014-11-18 23:58:59 -08:00
parent 027ed1335f
commit a8bea777d7

View file

@ -36,7 +36,7 @@ namespace NzbDrone.Core.Datastore.Migration
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();