Files
dify-plus/admin/server/model/gaia/app_version_config.go
T
npc0-hue df9bed2950 fear: admin添加app应用版本管理
system-features添加
2026-02-09 09:11:58 +08:00

15 lines
530 B
Go

package gaia
import "time"
// AppVersionConfig 应用版本全局配置(仅链接 Token,与具体版本解耦)
type AppVersionConfig struct {
Id uint `json:"id" gorm:"primarykey;column:id;comment:id"`
LinkToken *string `json:"link_token,omitempty" gorm:"column:link_token;size:255;comment:链接token,配置后GET /latest需传此token"`
UpdatedAt time.Time `json:"updated_at" gorm:"column:updated_at;comment:更新时间"`
}
func (AppVersionConfig) TableName() string {
return "app_version_config"
}