Use buildMigrationTemplate instead. This used to emit an
ESM-style (export const up = ...) template that was incompatible with
Migrator.loadMigrationFile(), which only ever loaded migrations via
CommonJS require(). It now delegates to the canonical CommonJS template
so any existing callers keep working, but new code should call
buildMigrationTemplate directly.
Migration System - Main entry point for all migration-related exports Provides migration management capabilities for the TypeScript ORM