Tables with no primary keys confused code generators