fix db initializer (#907)

This commit is contained in:
Jason Dove
2022-07-31 12:30:33 -05:00
committed by GitHub
parent 40ed4b8b0e
commit 866049543c
2 changed files with 3 additions and 1 deletions
+2
View File
@@ -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
@@ -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;
}