mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-14 02:26:55 -07:00
Reworked the newsletter for Emby! Need to rework it for Plex and use the new way to do it.
Fixed collections for Emby #435
This commit is contained in:
parent
86144f59bb
commit
8393a31a48
17 changed files with 631 additions and 134 deletions
|
@ -30,6 +30,7 @@
|
|||
using System.Data;
|
||||
using NLog;
|
||||
using Ombi.Core.SettingModels;
|
||||
using Ombi.Store;
|
||||
|
||||
namespace Ombi.Core.Migration.Migrations
|
||||
{
|
||||
|
@ -53,9 +54,16 @@ namespace Ombi.Core.Migration.Migrations
|
|||
{
|
||||
UpdatePlexSettings();
|
||||
UpdateCustomSettings();
|
||||
AddNewColumns(con);
|
||||
UpdateSchema(con, Version);
|
||||
}
|
||||
|
||||
private void AddNewColumns(IDbConnection con)
|
||||
{
|
||||
con.AlterTable("EmbyContent", "ADD", "AddedAt", true, "VARCHAR(50)");
|
||||
con.AlterTable("EmbyEpisodes", "ADD", "AddedAt", true, "VARCHAR(50)");
|
||||
}
|
||||
|
||||
private void UpdatePlexSettings()
|
||||
{
|
||||
#if !DEBUG
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue