-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
generateChangeLog not working #285
Comments
Hello, thanks for the report, I'll need to estimate how wide the gap is to support that functionality. |
Hello, @mgazanayi and I had a look and it appears TL;DR: the best we can do is generate the index/constraint changes to match those detected in the database. It would be best to wait for the availability of the Long version ⬇️ Relational databases have a strict separation of structure and data. With Neo4j, there's no strict separation between structure and data. They are tied together. I don't think it would be a reasonable implementation if we dumped the whole data into a Liquibase change set as a result of If we exclude data, the only artefacts we have left are indices & constraints. Currently, this is done with raw Cypher queries. @mgazanayi and I just started looking into implementing higher-level constructs that support indices/constraints creation & drop in a Neo4j version-agnostic manner. We want to focus on that first. |
Hello @fbiville! Thank you very much for looking into my question, and for such a detailed explanation. At least I am now sure that this is not implemented, and not me doing something wrong. I guess I'll just repeat the data modeling steps on a new Neo4j instance from scratch. Cheers! |
If you can share of your manual work here, that would be super insightful for us! |
Hello everyone,
I'm making first steps in liquibase plugin for neo4j and I'm struggling with generating the initial changeLog file for the existing neo4j database.
I run the following command:
liquibase --changeLogFile=mydatabase_changelog.xml generateChangeLog
The error I get is:
Unexpected error running Liquibase: Don't know how to query for sequences on neo4j @ jdbc:neo4j:neo4j+s://_databaseaddress_
At the same time, I am able to connect to the database and run a simple changelog which creates a node as per quick start guide, so my guess it is not a connectivity issue.
Can anyone adivse, please, if generateChangeLog functionality working with neo4j?
I am using liquibase-neo4j-4.17.2.1 plugin version and neo4j-jdbc-driver-4.0.6 for connection
The text was updated successfully, but these errors were encountered: