naoina/genmai — pull request #3 by umisama (2014-05-02 08:17:26+00:00)
Title: Fix a panic if primary key is not integer.

Genmai panics if primary key is not integer.
Primary-key that is integer is added a option "autoincrement" by db.collectTableField(), but db.collectFieldIndexes() is decide "autoincrement" without type checking.

So, I fixed this on PR.

thank you!