init
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
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
|
||||
}
|
||||
Reference in New Issue
Block a user