I would be interested in such thing too.
IMO, that could be done by allowing a "log export" to a file, filtering the log queries.
ie: we may have an option in HeidiSQL to set up where to save the "filtered log" (maybe with date and time placeholder so they won't overwrite each other?). We may also have a list of possible filters, either with a simple regex (like "^CREATE|^ALTER TABLE"), or with series of checkboxes (export SELECT? yes/no export CREATE TABLE? yes/no etc).
This is different from "export as SQL" option we have when right clicking a DB since this existing export will only generate "CREATE TABLE/VIEW", and not the "ALTER TABLE" the logs may contain.
Btw, wogisha, you can still do this on your own by setting "save log to a file" in the options, and then doing a "grep" for "^(CREATE|ALTER)" on this file. But having it integrated in HeidiSQL would be a plus.