Member Junction
    Preparing search index...
    MigrationRegionKind:
        | "hand-ddl"
        | "codegen-objects"
        | "metadata-sync"
        | "schema-ddl"
        | "data-dml"
        | "hand-procedural"

    What a contiguous region of a migration was produced by / consists of.

    Type Declaration

    • "hand-ddl"

      Regular hand-authored DDL/DML — CREATE/ALTER TABLE, indexes, constraints, plain INSERT/UPDATE. Transpilable.

    • "codegen-objects"

      Banner-marked CodeGen SQL objects — discard on PG and regenerate natively.

    • "metadata-sync"

      mj-sync metadata seed — session header or @x_<hash> vars. Re-seed via mj sync push.

    • "schema-ddl"

      Real schema DDL — CREATE/ALTER TABLE, indexes, constraints. Transpiled.

    • "data-dml"

      Data DML — INSERT/UPDATE/DELETE. Transpiled when it isn't part of an mj-sync seed.

    • "hand-procedural"

      Hand-written procedural SQL — CREATE [OR ALTER] PROCEDURE|FUNCTION|TRIGGER authored by a dev. Needs a human PG version.