mirror of
https://gitee.com/dromara/mayfly-go
synced 2026-04-02 10:45:18 +08:00
feat: 新增mysql ssh代理连接方式
This commit is contained in:
@@ -20,4 +20,10 @@ type Db struct {
|
||||
Project string
|
||||
EnvId uint64
|
||||
Env string
|
||||
|
||||
EnableSSH int `orm:"column(enable_ssh)" json:"enable_ssh"`
|
||||
SSHHost string `orm:"column(ssh_host)" json:"ssh_host"`
|
||||
SSHPort int `orm:"column(ssh_port)" json:"ssh_port"`
|
||||
SSHUser string `orm:"column(ssh_user)" json:"ssh_user"`
|
||||
SSHPass string `orm:"column(ssh_pass)" json:"-"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user