This commit is contained in:
parent
500bf48295
commit
f3a139b809
6 changed files with 103 additions and 34 deletions
13
storage-new/models/NoteToBoost.go
Normal file
13
storage-new/models/NoteToBoost.go
Normal file
|
@ -0,0 +1,13 @@
|
|||
package models
|
||||
|
||||
import "time"
|
||||
|
||||
// Describes a user boosting one note
|
||||
type NoteToBoost struct {
|
||||
ID uint `gorm:"primarykey"`
|
||||
CreatedAt time.Time
|
||||
User User
|
||||
UserId string
|
||||
Note Note
|
||||
NoteId string
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue