lib/neo4j/model_schema.rb in neo4j-8.0.18 vs lib/neo4j/model_schema.rb in neo4j-8.1.0.rc.1
- old
+ new
@@ -104,10 +104,10 @@
fail ::Neo4j::DeprecatedSchemaDefinitionError, validation_error_message(messages)
end
def validation_error_message(messages)
<<MSG
- Some schema elements were defined by the model (which is no longer supported), but they do not exist in the database. Run the following to create them:
+ Some schema elements were defined by the model (which is no longer supported), but they do not exist in the database. Run the following to create them if you haven't already:
#{messages[:constraint].join("\n")}
#{messages[:index].join("\n")}
And then run `rake neo4j:migrate`