mirror of https://github.com/1Panel-dev/1Panel
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
719 B
23 lines
719 B
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"`
|
|
}
|