Skip to content

Latest commit

 

History

History
20 lines (14 loc) · 698 Bytes

README.md

File metadata and controls

20 lines (14 loc) · 698 Bytes

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