jmoiron / modl

golang database modelling library
MIT License
479 stars 48 forks source link

panic when non-integer Version column exists #39

Open tmc opened 8 years ago

tmc commented 8 years ago

panic: reflect: call of reflect.Value.Int on string Value

It seems like it should be easier to opt-out of the Version field without mangling the field name.

tike commented 8 years ago

Was also bitten by this yesterday, at the very least the error message should be more descriptive