diff options
| author | Vasily <just.one.man@yandex.ru> | 2020-03-06 19:01:07 +0300 |
|---|---|---|
| committer | Vasily <just.one.man@yandex.ru> | 2020-03-06 19:01:07 +0300 |
| commit | 5a0f1fe848aa16176ee1f697af8fe91b92c15c54 (patch) | |
| tree | 19a4f4526c83379f7aec1273abc7c77392934fd7 | |
| parent | 098d3538e32f4440bf6ed3a14844ff3a3b2a6fca (diff) | |
Implement review suggestion
| -rw-r--r-- | Jellyfin.Server/Migrations/MigrationRunner.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Jellyfin.Server/Migrations/MigrationRunner.cs b/Jellyfin.Server/Migrations/MigrationRunner.cs index caaa58ae1..0274e68a1 100644 --- a/Jellyfin.Server/Migrations/MigrationRunner.cs +++ b/Jellyfin.Server/Migrations/MigrationRunner.cs @@ -28,7 +28,7 @@ namespace Jellyfin.Server.Migrations var logger = loggerFactory.CreateLogger<MigrationRunner>(); var migrationOptions = ((IConfigurationManager)host.ServerConfigurationManager).GetConfiguration<MigrationOptions>(MigrationsListStore.StoreKey); - if (!host.ServerConfigurationManager.Configuration.IsStartupWizardCompleted) + if (!host.ServerConfigurationManager.Configuration.IsStartupWizardCompleted && migrationOptions.Applied.Length == 0) { // If startup wizard is not finished, this is a fresh install. // Don't run any migrations, just mark all of them as applied. |
