diff options
Diffstat (limited to 'internal/gtsmodel')
| -rw-r--r-- | internal/gtsmodel/tag.go | 9 | 
1 files changed, 9 insertions, 0 deletions
| diff --git a/internal/gtsmodel/tag.go b/internal/gtsmodel/tag.go index 470bee094..0b66585eb 100644 --- a/internal/gtsmodel/tag.go +++ b/internal/gtsmodel/tag.go @@ -29,3 +29,12 @@ type Tag struct {  	Listable  *bool     `bun:",nullzero,notnull,default:true"`                              // Tagged statuses can be listed on this instance.  	Href      string    `bun:"-"`                                                           // Href of the hashtag. Will only be set on freshly-extracted hashtags from remote AP messages. Not stored in the database.  } + +// FollowedTag represents a user following a tag. +type FollowedTag struct { +	// ID of the account that follows the tag. +	AccountID string `bun:"type:CHAR(26),pk,nullzero"` + +	// ID of the tag. +	TagID string `bun:"type:CHAR(26),pk,nullzero"` +} | 
