mirror of
https://github.com/APIParkLab/APIPark.git
synced 2026-06-14 20:41:15 +08:00
Improve deployment logic
This commit is contained in:
@@ -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:是否为服务端项目"`
|
||||
|
||||
Reference in New Issue
Block a user