Skip to main content
Migrate a v1 Helix project to v2 format.

Usage

helix migrate [OPTIONS]

Available flags

FlagTypeDescriptionDefault
--path, -pStringThe path to the project to migrateCurrent directory
--queries-dir, -qStringThe directory to move .hx files to./db/
--instance-name, -iStringThe name for the default local instancedev
--portStringThe port for the local instance6969
--dry-runBooleanShow what would be migrated without making changes
--no-backupBooleanSkip creating backup of v1 files

Examples

# Migrate the current directory
helix migrate

# Preview migration without making changes
helix migrate --dry-run

# Migrate a specific project with custom settings
helix migrate --path ./my-project --instance-name staging --port 8080

# Migrate without creating a backup
helix migrate --no-backup