json output fix

This commit is contained in:
2026-03-01 19:56:46 +01:00
parent 7623abb01d
commit ea9643bcb2
2 changed files with 10 additions and 10 deletions
+5 -5
View File
@@ -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"`
}