Files
kooltab-update-server/internal/models/release.go
T

17 lines
344 B
Go

package models
import "time"
type Release struct {
ID uint `gorm:"primaryKey"`
Version string `gorm:"uniqueIndex;not null"` // versionName
VersionCode int64 `gorm:"uniqueIndex;not null"` // Android versionCode
APKFile string `gorm:"not null"`
Notes string
Mandatory bool
SHA256 string
CreatedAt time.Time
}