mirror of
				https://github.com/jellyfin/jellyfin.git
				synced 2025-11-03 19:17:24 -05:00 
			
		
		
		
	Implement review suggestion
This commit is contained in:
		
							parent
							
								
									098d3538e3
								
							
						
					
					
						commit
						5a0f1fe848
					
				@ -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.
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user