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