Skip to main content

Module migrate_cmd

Module migrate_cmd 

Source
Expand description

Database migration command implementation

Handles migrations from schema v1-v5 to v6:

  • v2: magellan_meta table
  • v4: BLAKE3-based SymbolId (additive fields)
  • v5: AST nodes table for hierarchy storage
  • v6: AST nodes file_id column for per-file tracking

Structs§

MigrationResult
Migration result summary

Constants§

MAGELLAN_SCHEMA_VERSION
Current Magellan schema version v4: BLAKE3-based SymbolId, canonical_fqn, display_fqn v5: AST nodes table for hierarchy storage v6: AST nodes file_id column for per-file tracking

Functions§

run_migrate
Run database migration