mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2024-12-13 07:59:08 +08:00
23 lines
719 B
Go
23 lines
719 B
Go
package model
|
|
|
|
type Database struct {
|
|
BaseModel
|
|
AppInstallID uint `json:"appInstallID"`
|
|
Name string `json:"name" gorm:"not null;unique"`
|
|
Type string `json:"type" gorm:"not null"`
|
|
Version string `json:"version" gorm:"not null"`
|
|
From string `json:"from" gorm:"not null"`
|
|
Address string `json:"address" gorm:"not null"`
|
|
Port uint `json:"port" gorm:"not null"`
|
|
Username string `json:"username"`
|
|
Password string `json:"password"`
|
|
|
|
SSL bool `json:"ssl"`
|
|
RootCert string `json:"rootCert"`
|
|
ClientKey string `json:"clientKey"`
|
|
ClientCert string `json:"clientCert"`
|
|
SkipVerify bool `json:"skipVerify"`
|
|
|
|
Description string `json:"description"`
|
|
}
|