Fix handling of AUTOINCREMENT in addColumn()/modifyColumn()

See #1965