upvotes models
This commit is contained in:
@@ -7,7 +7,7 @@ import (
|
||||
|
||||
type Upvote struct {
|
||||
UUID string `gorm:"primaryKey"`
|
||||
SessionUUID string `gorm:"type:varchar(255);unique"`
|
||||
SessionUUID string `gorm:"type:varchar(255)"`
|
||||
FeedbackUUID string `gorm:"type:varchar(255)"`
|
||||
CreatedAt time.Time `gorm:"type:timestamp"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user