# Thin wrapper — prefer: npm run migrate (or node scripts/migrate.mjs) $ErrorActionPreference = "Stop" $Root = Resolve-Path (Join-Path $PSScriptRoot "..") & node (Join-Path $Root "scripts\migrate.mjs") if ($LASTEXITCODE -ne 0) { exit $LASTEXITCODE }