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 @@ namespace NzbDrone.Core.Datastore.Migration 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 @@ namespace NzbDrone.Core.Datastore.Migration { 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 @@ - +