morpheus icon indicating copy to clipboard operation
morpheus copied to clipboard

CLI: add validate option

Open marianozunino opened this issue 3 years ago • 3 comments

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

marianozunino avatar Feb 21 '22 01:02 marianozunino

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.

nimphal avatar Jan 31 '23 11:01 nimphal

@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 avatar Jan 31 '23 13:01 marianozunino

This should be added after the Nestjs migration #14

marianozunino avatar Feb 02 '23 16:02 marianozunino