mirror of
https://github.com/collinbarrett/FilterLists.git
synced 2026-03-11 09:04:27 +00:00
fix: temp downgrade to efcore8
Some checks failed
Some checks failed
This commit is contained in:
parent
9b43d73b97
commit
ffc38bc529
3 changed files with 3 additions and 6 deletions
|
|
@ -24,7 +24,7 @@
|
|||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="Microsoft.AspNetCore.OpenApi" Version="9.0.2" />
|
||||
<PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="9.0.2">
|
||||
<PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="8.0.13">
|
||||
<PrivateAssets>all</PrivateAssets>
|
||||
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
|
||||
</PackageReference>
|
||||
|
|
|
|||
|
|
@ -23,10 +23,7 @@ public static void AddInfrastructure(this IHostApplicationBuilder builder)
|
|||
.UseQueryTrackingBehavior(QueryTrackingBehavior.NoTracking)
|
||||
.EnableSensitiveDataLogging(string.Equals(
|
||||
Environment.GetEnvironmentVariable("DOTNET_RUNNING_EF_CORE_TOOLS"), "true",
|
||||
StringComparison.OrdinalIgnoreCase))
|
||||
|
||||
// TODO: use new seeding pattern https://learn.microsoft.com/en-us/ef/core/what-is-new/ef-core-9.0/whatsnew#improved-data-seeding
|
||||
.ConfigureWarnings(w => w.Ignore(RelationalEventId.PendingModelChangesWarning)));
|
||||
StringComparison.OrdinalIgnoreCase)));
|
||||
|
||||
builder.Services.AddHostedService<MigrationService>();
|
||||
builder.Services.AddMemoryCache();
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@
|
|||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="Aspire.Microsoft.EntityFrameworkCore.SqlServer" Version="9.0.0" />
|
||||
<PackageReference Include="Aspire.Microsoft.EntityFrameworkCore.SqlServer" Version="8.2.2" />
|
||||
<PackageReference Include="JetBrains.Annotations" Version="2024.3.0"/>
|
||||
</ItemGroup>
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue