cancel
Showing results for 
Search instead for 
Did you mean: 

Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.

Liquibase for neo4j: which format to use?

gonzalad
Node Link

Hello,

I'm migrating my liquigraph codebase to the neo4j plugin for liquibase: GitHub - liquibase/liquibase-neo4j (thanks for the tool).

Do you recommend a particular format (yml, xml or other) for writing neo4j migrations ?

Previously I wrote liquigraph migrations in xml format, but since ou liquibase postgres dev rely on yml format I'm considering using yml format now for neo4j.
Unless this implies some headaches with cypher, hence my question

Thanks,
Adrian

2 REPLIES 2

gonzalad
Node Link

Hello,

Fow now we use XML format (all the samples and all the issues I saw on liquibase neo4j used this format, I don't want to stay away for the basic usage atm).

I tested the YML format at it works fine though

Again, apologies for the delay.

The automatic migration used XML to XML conversion, since it was just easier.

The XML format is usually a good way to go, as it's as expressive as JSON and Yaml and the resulting serialization is surprisingly less verbose.

The "SQL" format is nice for simple migration queries.