From 7d4624dbfed7c02482d7d1ef083275b0f8eb257b Mon Sep 17 00:00:00 2001 From: Herman Schaaf Date: Fri, 22 Jul 2022 16:40:13 +0100 Subject: [PATCH] fix: Add support for int32 and int64 array types (#433) --- provider/schema/column.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/provider/schema/column.go b/provider/schema/column.go index 95e6b3cb..baf23b2c 100644 --- a/provider/schema/column.go +++ b/provider/schema/column.go @@ -232,7 +232,7 @@ func (c Column) checkType(v interface{}) bool { return c.Type == TypeFloat case []string, []*string, *[]string: return c.Type == TypeStringArray || c.Type == TypeJSON - case []int, []*int, *[]int: + case []int, []*int, *[]int, []int32, []*int32, []int64, []*int64, *[]int64: return c.Type == TypeIntArray || c.Type == TypeJSON case []interface{}: return c.Type == TypeJSON