This solves problem of running rake neo4j:schema:load task. The main problems was in fact that in one transaction we tried to change schema (adding new constraint) and modify data (add new migrations).
This pull introduces/changes:
Provides two separated (implicit) transactions instead of one for introduction Migrations runner and loading migrations itself.
This solves problem of running rake
neo4j:schema:load
task. The main problems was in fact that in one transaction we tried to change schema (adding new constraint) and modify data (add new migrations).This pull introduces/changes:
Link to discussion from gitter: https://gitter.im/neo4jrb/neo4j?at=630c77a59d3c186299d5e13c