def METHOD_NAME(
    cls,
    schema: s_schema.Schema,
    astnode: qlast.DDLOperation,
    context: sd.CommandContext,
) -> CreateMigration:
    assert isinstance(astnode, qlast.CreateMigration)
    cmd = super().METHOD_NAME(schema, astnode, context)
    if astnode.body.commands and not astnode.metadata_only:
        for subastnode in astnode.body.commands:
            subcmd = sd.compile_ddl(schema, subastnode, context=context)
            if subcmd is not None:
                cmd.add(subcmd)
    assert isinstance(cmd, CreateMigration)
    return cmd