fix incorrect json variable name
This commit is contained in:
parent
a15bcebbc7
commit
0f1bff66dc
@ -5,5 +5,5 @@ import "gorm.io/gorm"
|
|||||||
type Level struct {
|
type Level struct {
|
||||||
gorm.Model
|
gorm.Model
|
||||||
ID uint64 `json:"ID" gorm:"primaryKey"`
|
ID uint64 `json:"ID" gorm:"primaryKey"`
|
||||||
Name string `json:"rut" gorm:"unique;not null"`
|
Name string `json:"name" gorm:"unique;not null"`
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user