Season folder format is lowercase

This commit is contained in:
Mark McDowall committed 2013-11-21 23:45:32 -08:00
1 parent f2aec932a4
commit 21af4bbdfa
2 files changed
+3 -3

No files matched your search

@@ -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;
+1 -1
View File
@@ -186,7 +186,7 @@
</Compile>
<Compile Include="Datastore\Migration\028_add_blacklist_table.cs" />
<Compile Include="Datastore\Migration\029_add_formats_to_naming_config.cs" />
<Compile Include="Datastore\Migration\030_update_series_folder_format.cs" />
<Compile Include="Datastore\Migration\030_update_season_folder_format.cs" />
<Compile Include="Datastore\Migration\031_delete_old_naming_config_columns.cs" />
<Compile Include="Datastore\Migration\Framework\MigrationContext.cs" />
<Compile Include="Datastore\Migration\Framework\MigrationController.cs" />