This commit is contained in:
parent
b6f12b7acf
commit
8f8ad3035a
33 changed files with 166 additions and 111 deletions
|
@ -17,11 +17,13 @@ import "time"
|
|||
// Also need to store the boosts a user has performed somewhere
|
||||
// Maybe adjust Reaction? Though a separate table might be a better option
|
||||
|
||||
// Assigns a note to a feed
|
||||
// Assigns a note to a feed.
|
||||
// Multiple notes may be assigned to multiple feeds, but each feed may contain
|
||||
// one note at most once.
|
||||
type NoteToFeed struct {
|
||||
ID uint64 `gorm:"primarykey"`
|
||||
CreatedAt time.Time
|
||||
Note Note
|
||||
Note Note // The note being assigned
|
||||
NoteId string
|
||||
// Feed Feed
|
||||
// FeedId uint64
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue