neo4jrb / activegraph

An active model wrapper for the Neo4j Graph Database for Ruby.
http://neo4jrb.io
MIT License
1.4k stars 276 forks source link

[fix] Move ActiveGraph::Migrations runner into separated transaction #1673

Closed wmaciejak closed 1 year ago

wmaciejak commented 1 year ago

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