✨ Release CRUD apis
This commit is contained in:
@@ -16,9 +16,10 @@ const (
|
||||
type ProductRelease struct {
|
||||
cruda.BaseModel
|
||||
|
||||
Version string `json:"version"`
|
||||
Type ProductReleaseType `json:"type"`
|
||||
Assets datatypes.JSON `json:"assets"`
|
||||
Version string `json:"version"`
|
||||
Type ProductReleaseType `json:"type"`
|
||||
Channel string `json:"channel"`
|
||||
Assets datatypes.JSONType[map[string]any] `json:"assets"`
|
||||
|
||||
ProductID uint `json:"product_id"`
|
||||
Meta ProductReleaseMeta `json:"meta" gorm:"foreignKey:ReleaseID"`
|
||||
|
Reference in New Issue
Block a user