marianozunino / morpheus

Morpheus is database migration tool for Neo4j written in Typescript.
MIT License
18 stars 4 forks source link

Migrations over version 10+ are not triggered #29

Closed kacperhes closed 1 year ago

kacperhes commented 1 year ago

If migration number is 10 or more the migration is not triggered at all. Below are the screenshots of the behaviour from command line as well as neo4j playground:

  1. Creating new migration which automatically asigns number 10 (correct behaviour): Screen Shot 2023-05-16 at 15 22 27
  1. Running migrations (incorrect, should run migration 10 as well):

    Screen Shot 2023-05-16 at 15 22 58
  2. Database after migration (incorrect, should have node V10_0_0): Screen Shot 2023-05-16 at 15 23 11

marianozunino commented 1 year ago

@kacperhes may I ask what version of morpheus are you using? I just created an aura instance to test this out and I got the following result:

imagen

kacperhes commented 1 year ago

@marianozunino ^2.4.0

marianozunino commented 1 year ago

Related to this bug: https://github.com/marianozunino/morpheus/issues/25 Got fixed in the version 3.0.2

kacperhes commented 1 year ago

I was able to fix it locally after update to version 3.0.2. Thank you for quick response!