aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Server/Program.cs
diff options
context:
space:
mode:
authorJoshua M. Boniface <joshua@boniface.me>2020-03-05 10:03:43 -0500
committerGitHub <noreply@github.com>2020-03-05 10:03:43 -0500
commitdcf3dbb2507f9e6a213b62b47cf8c327873f78b1 (patch)
tree3022ca1868877ae01618a371e9489c6f9b39cc4a /Jellyfin.Server/Program.cs
parentca585f12b3297f58e8f490b03b64729716eb2f40 (diff)
parent9eef0e8ca0e3359239ab68fcadbf2d65084f12e6 (diff)
Merge pull request #2515 from JustAMan/migration-scripts
Implement ability to run migration routines when updating Jellyfin
Diffstat (limited to 'Jellyfin.Server/Program.cs')
-rw-r--r--Jellyfin.Server/Program.cs1
1 files changed, 1 insertions, 0 deletions
diff --git a/Jellyfin.Server/Program.cs b/Jellyfin.Server/Program.cs
index 484e507a2..aa1bdb169 100644
--- a/Jellyfin.Server/Program.cs
+++ b/Jellyfin.Server/Program.cs
@@ -182,6 +182,7 @@ namespace Jellyfin.Server
// A bit hacky to re-use service provider since ASP.NET doesn't allow a custom service collection.
appHost.ServiceProvider = host.Services;
appHost.FindParts();
+ appHost.TryMigrate();
try
{