migrate icon indicating copy to clipboard operation
migrate copied to clipboard

Upgraded Neo4j driver and added support for Neo4j v5

Open fabiomarini opened this issue 1 year ago • 1 comments

The Neo4j driver has been updated to v4 and the migration queries have been updated to add compatibility with Neo4j version 5.x that changed cypher syntax

fabiomarini avatar Nov 14 '22 17:11 fabiomarini

I wanted to check in to see if this will be merged soon? I'm getting the following error when trying to run migrations

error: Server error: [Neo.ClientError.Statement.SyntaxError] Invalid constraint syntax, ON and ASSERT should not be used. Replace ON with FOR and ASSERT with REQUIRE. (line 1, column 1 (offset: 0))
"CREATE CONSTRAINT ON (a:SchemaMigration) ASSERT a.version IS UNIQUE"

nazevedo-equinix avatar Feb 08 '24 21:02 nazevedo-equinix