Skip to content

Commit

Permalink
closes #41
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas Justesen committed Dec 4, 2023
1 parent 7339868 commit ceabddb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions DBMigrator/DBFolder.cs
Original file line number Diff line number Diff line change
Expand Up @@ -114,9 +114,9 @@ public void AddRollbacks(List<DBVersion> versions)
var rollbackVersion = this.allVersions.Find(x => x.Name == version.Name);
foreach (var feature in version.Features)
{
// preserve order from rollbackversionfeature here somehow

var rollbackFeature = rollbackVersion.AddAndOrGetFeature(feature.Name, 0);

// preserve order information from rollbackFeature
if (feature.Order == 0)
{
feature.Order = rollbackFeature.Order;
Expand Down

0 comments on commit ceabddb

Please sign in to comment.