From ddc120d5e6e0f18f235a6b5bbe5ceec86efedc41 Mon Sep 17 00:00:00 2001 From: tobi <31960611+tsmethurst@users.noreply.github.com> Date: Thu, 26 Aug 2021 11:28:16 +0200 Subject: fix public timeline bug (#150) --- internal/gtsmodel/tag.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'internal/gtsmodel/tag.go') diff --git a/internal/gtsmodel/tag.go b/internal/gtsmodel/tag.go index 5006a36f4..d4be0b66c 100644 --- a/internal/gtsmodel/tag.go +++ b/internal/gtsmodel/tag.go @@ -25,7 +25,7 @@ type Tag struct { // id of this tag in the database ID string `bun:",unique,type:CHAR(26),pk,notnull"` // Href of this tag, eg https://example.org/tags/somehashtag - URL string + URL string `bun:",nullzero"` // name of this tag -- the tag without the hash part Name string `bun:",unique,notnull"` // Which account ID is the first one we saw using this tag? -- cgit v1.2.3