diff options
Diffstat (limited to 'internal/gtsmodel/token.go')
-rw-r--r-- | internal/gtsmodel/token.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/internal/gtsmodel/token.go b/internal/gtsmodel/token.go index fd640abde..0586ae68a 100644 --- a/internal/gtsmodel/token.go +++ b/internal/gtsmodel/token.go @@ -19,7 +19,8 @@ package gtsmodel import "time" -// Token is a translation of the gotosocial token with the ExpiresIn fields replaced with ExpiresAt. +// Token is a translation of the gotosocial token +// with the ExpiresIn fields replaced with ExpiresAt. type Token struct { ID string `bun:"type:CHAR(26),pk,nullzero,notnull,unique"` // id of this item in the database CreatedAt time.Time `bun:"type:timestamptz,nullzero,notnull,default:current_timestamp"` // when was item created |