Add IDs to the various connector structs
This commit is contained in:
parent
582988add2
commit
c9e1881f55
11 changed files with 13 additions and 1 deletions
|
@ -2,6 +2,7 @@ package models
|
|||
|
||||
// A binding of one note to one media attachment
|
||||
type NoteToAttachment struct {
|
||||
ID uint64 `gorm:"primarykey"`
|
||||
Note Note
|
||||
NoteId string
|
||||
Attachment MediaMetadata
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue