Files
Matthias KadenbachandGitHub 1780a0fdc2 Merge pull request #216 from thingful/v1.3.1-neo4j-https
Register neo4j driver using a pseudo `neo4js` protocol scheme.
2017-05-09 10:37:06 -07:00
..
2017-05-06 16:13:08 -07:00
2017-05-06 16:13:08 -07:00

Neo4j Driver

  • Runs migrations in transcations. That means that if a migration failes, it will be safely rolled back.

  • Stores migration version details with the label SchemaMigrations. An unique constraint for the field :SchemaMigrations(version) will be auto-generated.

  • Neo4j cannot perform schema and data updates in a transaction, therefore it's necessary to use different migration files

Usage

migrate -url neo4j://user:password@host:port/db/data -path ./db/migrations create add_field_to_table
migrate -url neo4j://user:password@host:port/db/data -path ./db/migrations up
migrate help # for more info

Author