diff options
author | 2021-09-08 20:22:24 +0100 | |
---|---|---|
committer | 2021-09-08 20:22:24 +0100 | |
commit | 299801f299737364cdd3e5a526bd40df5c48ca93 (patch) | |
tree | 2d0926cdcf3088781842a83fd8ed50593006ccc2 /vendor/github.com/uptrace/bun/schema/tables.go | |
parent | rework media processing a little bit (#191) (diff) | |
parent | update bun library -> v1.0.4 (diff) | |
download | gotosocial-299801f299737364cdd3e5a526bd40df5c48ca93.tar.xz |
Merge pull request #195 from NyaaaWhatsUpDoc/update/bun-library
update bun library -> v1.0.4
Diffstat (limited to 'vendor/github.com/uptrace/bun/schema/tables.go')
-rw-r--r-- | vendor/github.com/uptrace/bun/schema/tables.go | 1 |
1 files changed, 1 insertions, 0 deletions
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)) } |