Add notification data
Some checks are pending
/ test (push) Waiting to run

This commit is contained in:
Melody Becker 2025-04-04 11:26:03 +02:00
parent 500bf48295
commit f3a139b809
Signed by: mstar
SSH key fingerprint: SHA256:9VAo09aaVNTWKzPW7Hq2LW+ox9OdwmTSHRoD4mlz1yI
6 changed files with 103 additions and 34 deletions

View 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
}