fix incorrect json variable name
This commit is contained in:
parent
7e8eeab054
commit
63392e2726
@ -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