comments
This commit is contained in:
@ -145,6 +145,9 @@ type Account struct {
|
||||
SuspensionOrigin int
|
||||
}
|
||||
|
||||
// Field represents a key value field on an account, for things like pronouns, website, etc.
|
||||
// VerifiedAt is optional, to be used only if Value is a URL to a webpage that contains the
|
||||
// username of the user.
|
||||
type Field struct {
|
||||
Name string
|
||||
Value string
|
||||
|
||||
@ -20,6 +20,7 @@ package model
|
||||
|
||||
import "time"
|
||||
|
||||
// Follow represents one account following another, and the metadata around that follow.
|
||||
type Follow struct {
|
||||
// id of this follow in the database
|
||||
ID string `pg:"type:uuid,default:gen_random_uuid(),pk,notnull,unique"`
|
||||
|
||||
Reference in New Issue
Block a user