upvotes models
This commit is contained in:
@@ -15,7 +15,7 @@ type Feedback struct {
|
||||
Type FeedbackType `gorm:"type:varchar(255)"`
|
||||
Text string `gorm:"type:varchar(300)"`
|
||||
|
||||
Upvote []Upvote `gorm:"foreignKey:FeedbackUUID;references:UUID"`
|
||||
Upvote []Upvote `gorm:"foreignKey:FeedbackUUID"`
|
||||
|
||||
CreatedAt time.Time `gorm:"type:timestamp"`
|
||||
UpdatedAt time.Time `gorm:"type:timestamp"`
|
||||
|
||||
Reference in New Issue
Block a user