fix db initializer (#907)
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user