add support to auto_increment and generated value fields