You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Now, when running this via the RH dotnet tool on windows, scripts are run in the expected order, top to bottom, from 0000 directory on downwards.
When running the same using the RH dotnet tool on linux, the order of the scripts run appears to be reversed, that is, starting with the LAST folder, 0002-ThirdScripts, then running the scripts inside that folder in top to bottom order, e.g. 0001-Script5.sql, 0002-Script6.sql, then back to 0001-SecondScripts, etc.
Now , our naming convention might be a bad one, so what naming standards are recommended to ensure things are run in the right order. In reading the source code, I see it is reading the filename from a path only, without the folder. Would we need to name scripts as all numbered away from one another, irrespective of subdirectory?
Let me know
The text was updated successfully, but these errors were encountered:
This one took a while for me to work out, and I hope someone can help with how best to get around it.
So we have a folder structure for our up scripts:
etc.
Now, when running this via the RH dotnet tool on windows, scripts are run in the expected order, top to bottom, from 0000 directory on downwards.
When running the same using the RH dotnet tool on linux, the order of the scripts run appears to be reversed, that is, starting with the LAST folder, 0002-ThirdScripts, then running the scripts inside that folder in top to bottom order, e.g. 0001-Script5.sql, 0002-Script6.sql, then back to 0001-SecondScripts, etc.
Now , our naming convention might be a bad one, so what naming standards are recommended to ensure things are run in the right order. In reading the source code, I see it is reading the filename from a path only, without the folder. Would we need to name scripts as all numbered away from one another, irrespective of subdirectory?
Let me know
The text was updated successfully, but these errors were encountered: