This would work but it removes auto increment on database side functionality. So you are saying that it is impossible to use serial id and properly reference it without specifying columnDefinition on FK side?