This commit is contained in:
parent
b6f12b7acf
commit
8f8ad3035a
33 changed files with 166 additions and 111 deletions
|
@ -3,8 +3,8 @@ package models
|
|||
// A binding of one note to one media attachment
|
||||
type NoteToAttachment struct {
|
||||
ID uint64 `gorm:"primarykey"`
|
||||
Note Note
|
||||
Note Note // The note being bound
|
||||
NoteId string
|
||||
Attachment MediaMetadata
|
||||
Attachment MediaMetadata // The media being bound to
|
||||
AttachmentId string
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue