Fixed bad migration for DownloadClientDirectory

This commit is contained in:
Mark McDowall 2012-11-23 08:07:31 -08:00
parent 215c946a67
commit 9538559f61
1 changed files with 1 additions and 1 deletions

View File

@ -11,7 +11,7 @@ namespace NzbDrone.Core.Datastore.Migrations
protected override void MainDbUpgrade() protected override void MainDbUpgrade()
{ {
Database.ExecuteNonQuery("UPDATE Config SET [KEY] = 'SabBacklogTvPriority' WHERE [KEY] = 'SabTvPriority'"); 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'"); var priority = Database.ExecuteScalar("SELECT [Value] FROM Config WHERE [Key] = 'SabBacklogTvPriority'");