1
0
Fork 0
mirror of https://github.com/Radarr/Radarr synced 2025-02-12 17:45:13 +00:00

Fixed bad migration for DownloadClientDirectory

This commit is contained in:
Mark McDowall 2012-11-23 08:07:31 -08:00
parent 215c946a67
commit 9538559f61

View file

@ -11,7 +11,7 @@ public class Migration20121122 : NzbDroneMigration
protected override void MainDbUpgrade()
{
Database.ExecuteNonQuery("UPDATE Config SET [KEY] = 'SabBacklogTvPriority' WHERE [KEY] = 'SabTvPriority'");
Database.ExecuteNonQuery("UPDATE Config SET [KEY] = 'SabTvDropDirectory ' WHERE [KEY] = 'DownloadClientTvDirectory'");
Database.ExecuteNonQuery("UPDATE Config SET [KEY] = 'DownloadClientTvDirectory' WHERE [KEY] = 'SabTvDropDirectory'");
var priority = Database.ExecuteScalar("SELECT [Value] FROM Config WHERE [Key] = 'SabBacklogTvPriority'");