fix incorrect json variable name

This commit is contained in:
Chris Cromer 2023-02-07 23:31:06 -03:00 committed by Martin Araneda
parent a15bcebbc7
commit 0f1bff66dc
1 changed files with 1 additions and 1 deletions

View File

@ -5,5 +5,5 @@ import "gorm.io/gorm"
type Level struct {
gorm.Model
ID uint64 `json:"ID" gorm:"primaryKey"`
Name string `json:"rut" gorm:"unique;not null"`
Name string `json:"name" gorm:"unique;not null"`
}