fix primary key datatype error

primary key data type must in
int int64 float32 float64 string []byte time.Time
and/or above type's slice'