mirror of https://github.com/lidarr/Lidarr
Adding music related columns to NamingConfig table.
This commit is contained in:
parent
50d5693399
commit
e03af77375
|
@ -0,0 +1,15 @@
|
|||
using FluentMigrator;
|
||||
using NzbDrone.Core.Datastore.Migration.Framework;
|
||||
|
||||
namespace NzbDrone.Core.Datastore.Migration
|
||||
{
|
||||
[Migration(112)]
|
||||
public class add_music_fields_to_namingconfig : NzbDroneMigrationBase
|
||||
{
|
||||
protected override void MainDbUpgrade()
|
||||
{
|
||||
Alter.Table("NamingConfig").AddColumn("ArtistFolderFormat").AsAnsiString();
|
||||
Alter.Table("NamingConfig").AddColumn("AlbumFolderFormat").AsAnsiString();
|
||||
}
|
||||
}
|
||||
}
|
|
@ -288,6 +288,7 @@
|
|||
</Compile>
|
||||
<Compile Include="Datastore\Migration\105_rename_torrent_downloadstation.cs" />
|
||||
<Compile Include="Datastore\Migration\111_setup_music.cs" />
|
||||
<Compile Include="Datastore\Migration\112_add_music_fields_to_namingconfig.cs" />
|
||||
<Compile Include="Datastore\Migration\Framework\MigrationContext.cs" />
|
||||
<Compile Include="Datastore\Migration\Framework\MigrationController.cs" />
|
||||
<Compile Include="Datastore\Migration\Framework\MigrationDbFactory.cs" />
|
||||
|
|
Loading…
Reference in New Issue