This commit is contained in:
Jamie 2018-02-01 16:31:49 +00:00
commit c370909619
13 changed files with 338 additions and 3 deletions

View file

@ -99,6 +99,16 @@ namespace Ombi.Store.Context
});
SaveChanges();
}
var notification = ApplicationConfigurations.FirstOrDefault(x => x.Type != ConfigurationTypes.Notification);
if (notification == null)
{
ApplicationConfigurations.Add(new ApplicationConfiguration
{
Type = ConfigurationTypes.Notification,
Value = "4f0260c4-9c3d-41ab-8d68-27cb5a593f0e"
});
SaveChanges();
}
// VACUUM;
Database.ExecuteSqlCommand("VACUUM;");

View file

@ -15,6 +15,7 @@ namespace Ombi.Store.Entities
// 2 was used for Port before the beta
FanartTv = 3,
TheMovieDb = 4,
StoragePath = 5
StoragePath = 5,
Notification = 6,
}
}