Member Junction
    Preparing search index...
    interface ConvertMigrationOptions {
        coreSchema?: string;
        includeHeader?: boolean;
        schema?: string;
        transpiler?: TSQLToPGTranspiler;
    }
    Index

    Properties

    coreSchema?: string

    MJ core schema substituted for ${mjSchema} in the output (default '__mj').

    Distinct from schema: an Open App migration says ${flyway:defaultSchema} for its OWN schema and ${mjSchema} for core, and the two differ for every app (e.g. __mj_bizappscommon vs __mj). Both must be resolved, because committed .pg.sql files carry literal schemas — Flyway placeholder substitution is not relied on for PostgreSQL — and because --bake-codegen executes the converted body against the working database as it goes, where an unresolved macro is a hard error (relation "${mjSchema}.Entity" does not exist) that halts the whole bake chain.

    includeHeader?: boolean

    Emit the standard .pg.sql provenance header (default true).

    schema?: string

    Target schema substituted for ${flyway:defaultSchema} in the output (default '__mj').

    transpiler?: TSQLToPGTranspiler

    The AST transpiler. Required whenever the migration has kept T-SQL to translate; pure regen/reseed files convert without it.