diff options
author | 2021-08-26 11:28:16 +0200 | |
---|---|---|
committer | 2021-08-26 11:28:16 +0200 | |
commit | ddc120d5e6e0f18f235a6b5bbe5ceec86efedc41 (patch) | |
tree | 08869fd4514e7ba67c57e81e001df0e1c329414c /internal/gtsmodel/tag.go | |
parent | Pg to bun (#148) (diff) | |
download | gotosocial-ddc120d5e6e0f18f235a6b5bbe5ceec86efedc41.tar.xz |
fix public timeline bug (#150)
Diffstat (limited to 'internal/gtsmodel/tag.go')
-rw-r--r-- | internal/gtsmodel/tag.go | 2 |
1 files changed, 1 insertions, 1 deletions
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? |