mirror of
https://github.com/Radarr/Radarr.git
synced 2024-09-17 15:02:34 +02:00
Fixed the migration to release restrictions
This commit is contained in:
parent
027ed1335f
commit
a8bea777d7
@ -36,7 +36,7 @@ private void ConvertRestrictions(IDbConnection conn, IDbTransaction tran)
|
|||||||
using (IDbCommand insertCmd = conn.CreateCommand())
|
using (IDbCommand insertCmd = conn.CreateCommand())
|
||||||
{
|
{
|
||||||
insertCmd.Transaction = tran;
|
insertCmd.Transaction = tran;
|
||||||
insertCmd.CommandText = "INSERT INTO Restrictions (Ignored, Tags) VALUES ('?', '[]')";
|
insertCmd.CommandText = "INSERT INTO Restrictions (Ignored, Tags) VALUES (?, '[]')";
|
||||||
insertCmd.AddParameter(restrictions);
|
insertCmd.AddParameter(restrictions);
|
||||||
|
|
||||||
insertCmd.ExecuteNonQuery();
|
insertCmd.ExecuteNonQuery();
|
||||||
|
Loading…
Reference in New Issue
Block a user