Skip to content

Commit

Permalink
Merge pull request #338 from yurii-hunter/bugfix-migrations
Browse files Browse the repository at this point in the history
Fix schema version update in PostgreSqlObjectsInstaller on script failure
  • Loading branch information
azygis authored Dec 21, 2023
2 parents 2a709e4 + 4474974 commit 0484d61
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Hangfire.PostgreSql/PostgreSqlObjectsInstaller.cs
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,8 @@ public static void Install(NpgsqlConnection connection, string schemaName = "han
{
_logger.ErrorException("Error while executing install/upgrade", ex);
}

throw;
}

previousVersion = version;
Expand Down

0 comments on commit 0484d61

Please # to comment.