Fix framework test on int64 with default durationsecond set

This commit is contained in:
Jeff Mitchell 2017-02-18 13:53:23 -05:00
parent 496420a5ab
commit 1a3edc7515
1 changed files with 2 additions and 0 deletions

View File

@ -544,6 +544,8 @@ func (s *FieldSchema) DefaultOrZero() interface{} {
return s.Type.Zero()
case int:
result = inp
case int64:
result = int(inp)
case float32:
result = int(inp)
case float64: