Fixes an issue where a version is for example "1.5.10" and a migration task is created for version "1.5.9".
The Migrate module compare version as string and 1.5.9 > 1.5.10 while it should not be.
Used the Elixir Version module to fix it
Type of change
Bug fix (non-breaking change which fixes an issue)
On current version (1.5.10) run a node, stop it and restart it, without the fix it will try to run the migration for 1.5.9 that fail.
It does not run the migration after the fix
Checklist:
My code follows the style guidelines of this project
I have performed a self-review of my own code
I have commented my code, particularly in hard-to-understand areas
I have made corresponding changes to the documentation
My changes generate no new warnings
I have added tests that prove my fix is effective or that my feature works
New and existing unit tests pass locally with my changes
Any dependent changes have been merged and published in downstream modules
Description
Fixes an issue where a version is for example "1.5.10" and a migration task is created for version "1.5.9". The Migrate module compare version as string and 1.5.9 > 1.5.10 while it should not be. Used the Elixir
Version
module to fix itType of change
On current version (1.5.10) run a node, stop it and restart it, without the fix it will try to run the migration for 1.5.9 that fail. It does not run the migration after the fix
Checklist: