This commit is contained in:
parent
daf401a2f7
commit
8d4ba2ecae
14 changed files with 56 additions and 7 deletions
|
@ -30,4 +30,9 @@ type Note struct {
|
|||
Quotes *string // url of the message this note quotes
|
||||
AccessLevel NoteAccessLevel // Where to send this message to (public, home, followers, dm)
|
||||
OriginServer string // Url of the origin server. Also the primary key for those
|
||||
|
||||
AttachmentRelations []NoteToAttachment `gorm:"foreignKey:NoteId"`
|
||||
EmoteRelations []NoteToEmote `gorm:"foreignKey:NoteId"`
|
||||
PingRelations []NoteToPing `gorm:"foreignKey:NoteId"`
|
||||
Tags []NoteTag `gorm:"foreignKey:NoteId"`
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue