Tudor Stanciu 2022-03-11 14:19:35 +02:00
commit 57b606fb91
3 changed files with 4 additions and 3 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 https://toodle.ddns.net/public-nuget-server/nuget
dotnet nuget push NDB.Infrastructure.DatabaseMigration.1.1.0.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>
<RepositoryType>Git</RepositoryType>
<PackageTags>NDB Database migration</PackageTags>
<Version>1.1.0</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>
</PropertyGroup>

View File

@ -57,8 +57,9 @@ namespace NDB.Infrastructure.DatabaseMigration.Services
if (!scripts.Any())
continue;
_logger.LogInformation($"Running script pack: '{pack.Version}'");
_logger.LogInformation($"Running script pack '{pack.Version}' with {scripts.Length} scripts:");
scripts = scripts.OrderBy(f => f).ToArray();
foreach (var script in scripts)
await RunScript(script);