mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-14 02:26:55 -07:00
!wip
This commit is contained in:
parent
b0d229975b
commit
c370909619
13 changed files with 338 additions and 3 deletions
|
@ -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;");
|
||||
|
|
|
@ -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,
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue