marianozunino / morpheus

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

CLI: add validate option #3

Open marianozunino opened 2 years ago

marianozunino commented 2 years ago

https://michael-simons.github.io/neo4j-migrations/current/#usage_common_validate

Nimphal commented 1 year ago

Hello! We've started using this library (thank you very much!) and were looking at various error codes. I am wondering if this issue might resolve our current quandry. It looks like morpheus will always return a success code regardless if the migrations complete successfully or not. Would that be something that using validation would address? We're looking at workaround for now, but wanted to start a conversation here too.

marianozunino commented 1 year ago

@Nimphal hey! No, validate does another thing. It check if all the migrations that you have (locally) had been applied in the right order and contain the same valid checksum.

Regarding to the success code, do you mind opening a issue? I'll take a look into it as soon as I get some free time.

marianozunino commented 1 year ago

This should be added after the Nestjs migration #14