Skip to content

Commit

Permalink
Fix overwriting migration file named 0
Browse files Browse the repository at this point in the history
  • Loading branch information
hfhbd authored Aug 8, 2023
1 parent 04bb66e commit b5a85c9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ abstract class SqlFileBase(
}

baseContributorFile()?.contributors()?.let { contributors ->
orderedContributors[0] = linkedSetOf(*contributors.toTypedArray())
orderedContributors[-1] = linkedSetOf(elements = contributors.toTypedArray())
}

orderedContributors.forEach { (_, contributors) ->
Expand Down

0 comments on commit b5a85c9

Please sign in to comment.