diff --git a/core/db/models/connection.go b/core/db/models/connection.go index 0f68ed3..de66f4a 100644 --- a/core/db/models/connection.go +++ b/core/db/models/connection.go @@ -15,5 +15,5 @@ type Connection struct { ID int `gorm:"primary_key" json:"id"` Active bool `json:"active,omitempty"` Lang string `gorm:"column:lang; type:varchar(2)" json:"lang,omitempty" binding:"max=2"` - PublicURL string `gorm:"column:public_url; type:varchar(255);" json:"publicURL,omitempty" binding:"max=255"` + PublicURL string `gorm:"column:public_url; type:varchar(255);" json:"publicUrl,omitempty" binding:"max=255"` }