We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 4e07e25 + 6bfea74 commit 93ea2b1Copy full SHA for 93ea2b1
central-service/models/problem.go
@@ -3,6 +3,7 @@ package models
3
type Problem struct {
4
ID uint `gorm:"primarykey" json:"id"`
5
Name string `gorm:"unique" json:"name"`
6
+ Slug string `gorm:"unique" json:"slug"`
7
Description string `json:"description"`
8
Hints string `json:"hints"`
9
Difficulty string `json:"difficulty"`
0 commit comments