Improve deployment logic

This commit is contained in:
Liujian
2025-02-14 20:22:49 +08:00
parent 286387440c
commit 28cc30b8a7
12 changed files with 145 additions and 11 deletions
+1
View File
@@ -17,6 +17,7 @@ type Service struct {
UpdateAt time.Time `gorm:"type:timestamp;NOT NULL;DEFAULT:CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP;column:update_at;comment:修改时间"`
IsDelete int `gorm:"type:tinyint(1);not null;column:is_delete;comment:是否删除"`
Kind int `gorm:"type:tinyint(4);not null;column:kind;comment:服务种类,0:Rest服务,1:AI服务"`
State int `gorm:"type:tinyint(4);not null;column:state;comment:状态"`
AdditionalConfig string `gorm:"type:text;not null;column:additional_config;comment:额外配置"`
ApprovalType int `gorm:"type:tinyint(4);not null;column:approval_type;comment:审核类型"`
AsServer bool `gorm:"type:tinyint(1);not null;column:as_server;comment:是否为服务端项目"`