mirror of https://github.com/lidarr/Lidarr
Season folder format is lowercase
This commit is contained in:
parent
f2aec932a4
commit
21af4bbdfa
|
@ -18,7 +18,7 @@ namespace NzbDrone.Core.Datastore.Migration
|
||||||
using (IDbCommand namingConfigCmd = conn.CreateCommand())
|
using (IDbCommand namingConfigCmd = conn.CreateCommand())
|
||||||
{
|
{
|
||||||
namingConfigCmd.Transaction = tran;
|
namingConfigCmd.Transaction = tran;
|
||||||
namingConfigCmd.CommandText = @"SELECT * FROM Config WHERE [Key] = 'SeasonFolderFormat'";
|
namingConfigCmd.CommandText = @"SELECT * FROM Config WHERE [Key] = 'seasonfolderformat'";
|
||||||
using (IDataReader namingConfigReader = namingConfigCmd.ExecuteReader())
|
using (IDataReader namingConfigReader = namingConfigCmd.ExecuteReader())
|
||||||
{
|
{
|
||||||
while (namingConfigReader.Read())
|
while (namingConfigReader.Read())
|
||||||
|
@ -37,7 +37,7 @@ namespace NzbDrone.Core.Datastore.Migration
|
||||||
{
|
{
|
||||||
var text = String.Format("UPDATE Config " +
|
var text = String.Format("UPDATE Config " +
|
||||||
"SET [VALUE] = '{0}'" +
|
"SET [VALUE] = '{0}'" +
|
||||||
"WHERE [Key] = 'SeasonFolderFormat'",
|
"WHERE [Key] = 'seasonfolderformat'",
|
||||||
value);
|
value);
|
||||||
|
|
||||||
updateCmd.Transaction = tran;
|
updateCmd.Transaction = tran;
|
|
@ -186,7 +186,7 @@
|
||||||
</Compile>
|
</Compile>
|
||||||
<Compile Include="Datastore\Migration\028_add_blacklist_table.cs" />
|
<Compile Include="Datastore\Migration\028_add_blacklist_table.cs" />
|
||||||
<Compile Include="Datastore\Migration\029_add_formats_to_naming_config.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\031_delete_old_naming_config_columns.cs" />
|
||||||
<Compile Include="Datastore\Migration\Framework\MigrationContext.cs" />
|
<Compile Include="Datastore\Migration\Framework\MigrationContext.cs" />
|
||||||
<Compile Include="Datastore\Migration\Framework\MigrationController.cs" />
|
<Compile Include="Datastore\Migration\Framework\MigrationController.cs" />
|
||||||
|
|
Loading…
Reference in New Issue