migration fix

messaging
Tudor Stanciu 2022-02-19 00:14:37 +02:00
parent a0516493be
commit 614e5e431c
3 changed files with 3 additions and 2 deletions

View File

@ -26,5 +26,5 @@ dotnet nuget push NDB.Security.Authentication.Identity.1.0.7.nupkg -k ***REMOVED
dotnet nuget push NDB.Extensions.Caching.1.0.1.nupkg -k ***REMOVED*** -s http://stawebsrv:8081/NuGetServer/nuget dotnet nuget push NDB.Extensions.Caching.1.0.1.nupkg -k ***REMOVED*** -s http://stawebsrv:8081/NuGetServer/nuget
dotnet nuget push NDB.Infrastructure.DatabaseMigration.1.1.1.nupkg -k ***REMOVED*** -s https://toodle.ddns.net/public-nuget-server/nuget dotnet nuget push NDB.Infrastructure.DatabaseMigration.1.1.3.nupkg -k ***REMOVED*** -s https://toodle.ddns.net/public-nuget-server/nuget
####################################################################################################################################################### #######################################################################################################################################################

View File

@ -7,7 +7,7 @@
<RepositoryUrl>https://dev.azure.com/tstanciu94/NDB</RepositoryUrl> <RepositoryUrl>https://dev.azure.com/tstanciu94/NDB</RepositoryUrl>
<RepositoryType>Git</RepositoryType> <RepositoryType>Git</RepositoryType>
<PackageTags>NDB Database migration</PackageTags> <PackageTags>NDB Database migration</PackageTags>
<Version>1.1.1</Version> <Version>1.1.3</Version>
<PackageReleaseNotes>1.1.0: From this version the migration service can keep its metadata in the database (SqlServer or Sqlite)</PackageReleaseNotes> <PackageReleaseNotes>1.1.0: From this version the migration service can keep its metadata in the database (SqlServer or Sqlite)</PackageReleaseNotes>
</PropertyGroup> </PropertyGroup>

View File

@ -59,6 +59,7 @@ namespace NDB.Infrastructure.DatabaseMigration.Services
_logger.LogInformation($"Running script pack '{pack.Version}' with {scripts.Length} scripts:"); _logger.LogInformation($"Running script pack '{pack.Version}' with {scripts.Length} scripts:");
scripts = scripts.OrderBy(f => f).ToArray();
foreach (var script in scripts) foreach (var script in scripts)
await RunScript(script); await RunScript(script);