This is a plugin for Redgate Flyway Database migrations. It requires the Neo4j JDBC Driver 6.2 or higher. It does not ship the driver itself and requires at least 6.2 or higher. This plugin does not work with the common Neo4j driver for Java. If you need something on that driver, have a look at Neo4j-Migrations, it creates the same database structure and both tools should be able to read each other’s data.
Support is delivered on best effort basis, this plugin is neither an official Neo4j nor Redgate product.
We recommend the full-bundle.
The Maven coordinates are: org.neo4j:neo4j-jdbc-full-bundle
.
The Neo4j JDBC Driver can run Cypher and SQL.
It defaults to Cypher by default, and we recommend writing your migrations in Cypher.
Cypher files with .sql
extensions look odd, so you should configure Flyway to recognize .cypher
, too.
However, if you enabled SQL to Cypher translation, you can also use SQL in your migrations.
Learn more about this in the drivers manual.
The URL parameter to turn on SQL to Cypher translation is ?enableSQLTranslation=true
.