diff --git a/CHANGELOG.md b/CHANGELOG.md index 65b18aed7..d3aaf24f8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,8 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). ## [Unreleased] +### Fixed +- Fix database initializer; fresh installs with v0.6.4-beta are missing some config data ## [0.6.4-beta] - 2022-07-28 ### Fixed diff --git a/ErsatzTV.Infrastructure/Data/DbInitializer.cs b/ErsatzTV.Infrastructure/Data/DbInitializer.cs index 336741e0b..6c2639e8d 100644 --- a/ErsatzTV.Infrastructure/Data/DbInitializer.cs +++ b/ErsatzTV.Infrastructure/Data/DbInitializer.cs @@ -44,7 +44,7 @@ public static class DbInitializer await context.SaveChangesAsync(cancellationToken); } - if (context.Resolutions.Any()) + if (context.Resolutions.Any(x => x.Width == 1920)) { return Unit.Default; }