Managing Neo4j Migrations in JavaScript Projects

Summary

This Neo4j community discussion provides guidance on managing database migrations within JavaScript environments. It clarifies that the official neo4j-migrations tool functions as a standalone CLI, while also highlighting Morpheus4j as a TypeScript-based alternative for developers. These insights help community members choose the right migration strategy for their specific project needs.

zestymeadow-34 OP

Howdy y'all.

Is there any guidance available on generating and using migrations with neo4j in a JavaScript project?

I know the neo4j-migrations project exists but it seems like it's largely for Java only? Or does the CLI work everywhere?

Thanks

brightfrost-77

Hi !

The neo4j-migrations tool can be used as a CLI, requiring no Java installation to function, though it is built in Java!

brightfrost-77

There is also a typescript-built tool called Morpheus, published as Morpheus4j on npm, which was inspired by neo4j-migrations. It's less frequently updated and, unlike neo4j-migrations, was not created by a neo4j employee, but do check it out to see if it better fits your use case

zestymeadow-34 OP

Thank you

The latest from Neo4j