Skip to content

Commit d464b0c

Browse files
author
Jake Ginnivan
committed
Merge pull request DbUp#9 from JakeGinnivan/MakeScriptsToExecutePublic
Made GetScriptsToExecute public
2 parents 470acac + f860efc commit d464b0c

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/DbUp/Engine/UpgradeEngine.cs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,11 @@ public DatabaseUpgradeResult PerformUpgrade()
9595
}
9696
}
9797

98-
private List<SqlScript> GetScriptsToExecute()
98+
/// <summary>
99+
/// Returns a list of scripts that will be executed when the upgrade is performed
100+
/// </summary>
101+
/// <returns>The scripts to be executed</returns>
102+
public List<SqlScript> GetScriptsToExecute()
99103
{
100104
var allScripts = configuration.ScriptProviders.SelectMany(scriptProvider => scriptProvider.GetScripts(configuration.ConnectionFactory));
101105
var executedScripts = configuration.Journal.GetExecutedScripts();

0 commit comments

Comments
 (0)