added support for auto_increment columns