Browse Source

fix db initializer (#907)

pull/910/head
Jason Dove 3 years ago committed by GitHub
parent
commit
866049543c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      CHANGELOG.md
  2. 2
      ErsatzTV.Infrastructure/Data/DbInitializer.cs

2
CHANGELOG.md

@ -4,6 +4,8 @@ All notable changes to this project will be documented in this 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

2
ErsatzTV.Infrastructure/Data/DbInitializer.cs

@ -44,7 +44,7 @@ public static class DbInitializer @@ -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;
}

Loading…
Cancel
Save