From bdcc090851f37f1e81a53c1e695f897b1252cd22 Mon Sep 17 00:00:00 2001 From: "kim (grufwub)" Date: Wed, 8 Sep 2021 20:05:26 +0100 Subject: update bun library -> v1.0.4 Signed-off-by: kim (grufwub) --- vendor/github.com/uptrace/bun/schema/tables.go | 1 + 1 file changed, 1 insertion(+) (limited to 'vendor/github.com/uptrace/bun/schema/tables.go') diff --git a/vendor/github.com/uptrace/bun/schema/tables.go b/vendor/github.com/uptrace/bun/schema/tables.go index d82d08f59..4be856b34 100644 --- a/vendor/github.com/uptrace/bun/schema/tables.go +++ b/vendor/github.com/uptrace/bun/schema/tables.go @@ -67,6 +67,7 @@ func (t *Tables) Ref(typ reflect.Type) *Table { } func (t *Tables) table(typ reflect.Type, allowInProgress bool) *Table { + typ = indirectType(typ) if typ.Kind() != reflect.Struct { panic(fmt.Errorf("got %s, wanted %s", typ.Kind(), reflect.Struct)) } -- cgit v1.2.3