json output fix
This commit is contained in:
@@ -4,10 +4,10 @@ import "gorm.io/gorm"
|
||||
|
||||
type Release struct {
|
||||
gorm.Model
|
||||
SoftwareID uint `gorm:"index" json:"software_id"`
|
||||
SoftwareID uint `gorm:"index" json:"softwareId"`
|
||||
Version string `gorm:"size:64" json:"version"`
|
||||
CartridgePath string `gorm:"size:255" json:"-"`
|
||||
SourcePath string `gorm:"size:255" json:"-"`
|
||||
HTMLFolderPath string `gorm:"size:255" json:"-"`
|
||||
DocsFolderPath string `gorm:"size:255" json:"-"`
|
||||
CartridgePath string `gorm:"size:255" json:"cartridgePath"`
|
||||
SourcePath string `gorm:"size:255" json:"sourcePath"`
|
||||
HTMLFolderPath string `gorm:"size:255" json:"htmlFolderPath"`
|
||||
DocsFolderPath string `gorm:"size:255" json:"docsFolderPath"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user