From 21af4bbdfa03598c3d69cd49f38bb2734dac587d Mon Sep 17 00:00:00 2001 From: Mark McDowall Date: Sun, 10 Nov 2013 23:46:20 -0800 Subject: [PATCH] Season folder format is lowercase --- ...es_folder_format.cs => 030_update_season_folder_format.cs} | 4 ++-- src/NzbDrone.Core/NzbDrone.Core.csproj | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) rename src/NzbDrone.Core/Datastore/Migration/{030_update_series_folder_format.cs => 030_update_season_folder_format.cs} (96%) diff --git a/src/NzbDrone.Core/Datastore/Migration/030_update_series_folder_format.cs b/src/NzbDrone.Core/Datastore/Migration/030_update_season_folder_format.cs similarity index 96% rename from src/NzbDrone.Core/Datastore/Migration/030_update_series_folder_format.cs rename to src/NzbDrone.Core/Datastore/Migration/030_update_season_folder_format.cs index 9f0b2fdc0..6b57fd00c 100644 --- a/src/NzbDrone.Core/Datastore/Migration/030_update_series_folder_format.cs +++ b/src/NzbDrone.Core/Datastore/Migration/030_update_season_folder_format.cs @@ -18,7 +18,7 @@ private void ConvertConfig(IDbConnection conn, IDbTransaction tran) using (IDbCommand namingConfigCmd = conn.CreateCommand()) { namingConfigCmd.Transaction = tran; - namingConfigCmd.CommandText = @"SELECT * FROM Config WHERE [Key] = 'SeasonFolderFormat'"; + namingConfigCmd.CommandText = @"SELECT * FROM Config WHERE [Key] = 'seasonfolderformat'"; using (IDataReader namingConfigReader = namingConfigCmd.ExecuteReader()) { while (namingConfigReader.Read()) @@ -37,7 +37,7 @@ private void ConvertConfig(IDbConnection conn, IDbTransaction tran) { var text = String.Format("UPDATE Config " + "SET [VALUE] = '{0}'" + - "WHERE [Key] = 'SeasonFolderFormat'", + "WHERE [Key] = 'seasonfolderformat'", value); updateCmd.Transaction = tran; diff --git a/src/NzbDrone.Core/NzbDrone.Core.csproj b/src/NzbDrone.Core/NzbDrone.Core.csproj index f88be54d4..3985392e1 100644 --- a/src/NzbDrone.Core/NzbDrone.Core.csproj +++ b/src/NzbDrone.Core/NzbDrone.Core.csproj @@ -186,7 +186,7 @@ - +