Rename db.isAutoIncrement() to db.isAutoIncrementable()

and changed to not checking struct field.