summaryrefslogtreecommitdiff
path: root/internal/gtsmodel/emoji.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/gtsmodel/emoji.go')
-rw-r--r--internal/gtsmodel/emoji.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/internal/gtsmodel/emoji.go b/internal/gtsmodel/emoji.go
index 2fa3b7565..f0996d1a3 100644
--- a/internal/gtsmodel/emoji.go
+++ b/internal/gtsmodel/emoji.go
@@ -73,5 +73,6 @@ type Emoji struct {
// Is this emoji visible in the admin emoji picker?
VisibleInPicker bool `pg:",notnull,default:true"`
// In which emoji category is this emoji visible?
- CategoryID string `pg:"type:CHAR(26)"`
+ CategoryID string `pg:"type:CHAR(26)"`
+ Status *Status `pg:"rel:belongs-to"`
}