Migration

runic.migrate is an Alembic-style schema migration engine for graph databases — FalkorDB, ArcadeDB, Neo4j, Memgraph, and Apache AGE. It tracks every change to your graph’s indexes and constraints as a versioned, replayable script and gives you a CLI to apply, roll back, inspect, and test those changes safely.

Migration

Migration quickstart

Install runic, run runic init, write your first migration, and apply it — all in one page.

Quickstart
OGM + Migration guide

Three-stage workflow, Field→op translation, ordering rules, and 7 annotated patterns — the complete lifecycle guide.

OGM and Migrations
CLI reference

Every command, option, and flag documented with examples.

CLI Reference
Operations reference

Full list of op.* calls available inside migration scripts.

Operations Reference
Schema management

IndexManager and SchemaManager — declare, validate, and sync indexes.

Schema management
Migration API reference

runic.migrate — programmatic migration engine API.

Migration API Reference