Fix framework test on int64 with default durationsecond set
This commit is contained in:
parent
496420a5ab
commit
1a3edc7515
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue