Fixing my epic fail of not setting the columns to allow null.

This commit is contained in:
mdespain 2017-05-04 10:41:59 -06:00
parent ea01ee335b
commit bebb82ec9f
1 changed files with 2 additions and 2 deletions

View File

@ -8,8 +8,8 @@ namespace NzbDrone.Core.Datastore.Migration
{
protected override void MainDbUpgrade()
{
Alter.Table("NamingConfig").AddColumn("ArtistFolderFormat").AsAnsiString();
Alter.Table("NamingConfig").AddColumn("AlbumFolderFormat").AsAnsiString();
Alter.Table("NamingConfig").AddColumn("ArtistFolderFormat").AsAnsiString().Nullable();
Alter.Table("NamingConfig").AddColumn("AlbumFolderFormat").AsAnsiString().Nullable();
}
}
}