Open johanclasson opened 5 years ago
I have scripts in one folder and want to set order of execution of somes scripts before others as they are dependents on others...
Any Idea how to handle this kind of scenario in Dbup migration task ?
Is this really related to the RunAlways DbUp-feature?
Have you tried using setting the Script Execution Order-field?
.OrderBy(i => i.Name)
.OrderBy(i => i.FullName)
Directory.GetFiles(...)
.
This would allow a scenario where you would be able to control the execution order of journaled and not journaled scripts.
As of now you can only make the order like first running a bunch of journalled scirpts and then running the not journaled scripts.