I started with always rendering a primary key as a def instead of a ColumnOption, but that fails in h2 for AutoInc columns. So I changed it to render all single values primary keys as column options. Which means the name gets lost if someone defined it using a def earlier, which is maybe no big deal. Let's quickly pick up this topic in one of the next meetings