Skip to content

Commit

Permalink
Set old version back to 5.0.37
Browse files Browse the repository at this point in the history
  • Loading branch information
MMonrad committed Jan 28, 2025
1 parent 5ed08a3 commit 1cb8f32
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 16 deletions.
1 change: 1 addition & 0 deletions RELEASE_NOTES.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
- MongoDB
- MSSQL
- PostgreSQL
* Breaking: `EventFlow.Sql` from .NET 6 and above uses dbup version 6 to migrate databases.


### New in 1.1.0 (released 2024-12-16)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>netcoreapp3.1;net6.0;net8.0</TargetFrameworks>
<TargetFrameworks>netcoreapp3.1;net6.0</TargetFrameworks>
<IsPackable>False</IsPackable>
</PropertyGroup>

Expand Down
4 changes: 2 additions & 2 deletions Source/EventFlow.Sql/EventFlow.Sql.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,11 @@
</ItemGroup>

<ItemGroup Condition="'$(TargetFramework)' == 'netcoreapp3.1'">
<PackageReference Include="dbup-core" Version="5.0.87" />
<PackageReference Include="dbup-core" Version="5.0.37" />
</ItemGroup>

<ItemGroup Condition="'$(TargetFramework)' == 'netstandard2.1'">
<PackageReference Include="dbup-core" Version="5.0.87" />
<PackageReference Include="dbup-core" Version="5.0.37" />
</ItemGroup>

<ItemGroup>
Expand Down
13 changes: 0 additions & 13 deletions Source/EventFlow.Sql/Integrations/DbUpUpgradeLog.cs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@

namespace EventFlow.Sql.Integrations
{
#if NET6_0_OR_GREATER
public class DbUpUpgradeLog : IUpgradeLog
{
private readonly ILogger _logger;
Expand Down Expand Up @@ -66,17 +65,6 @@ public void LogError(Exception ex, string format, params object[] args)
{
_logger.LogError(ex, format, args);
}
}
#else
public class DbUpUpgradeLog : IUpgradeLog
{
private readonly ILogger _logger;

public DbUpUpgradeLog(
ILogger logger)
{
_logger = logger;
}

public void WriteInformation(string format, params object[] args)
{
Expand All @@ -93,5 +81,4 @@ public void WriteError(string format, params object[] args)
_logger.LogError(format, args);
}
}
#endif
}

0 comments on commit 1cb8f32

Please sign in to comment.