mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2024-11-11 18:05:59 +08:00
11 lines
493 B
Go
11 lines
493 B
Go
package model
|
|
|
|
type Database struct {
|
|
BaseModel
|
|
AppContainerId uint `json:"appContainerId" gorm:"type:integer;not null"`
|
|
AppInstallId uint `json:"appInstallId" gorm:"type:integer;not null"`
|
|
Key string `json:"key" gorm:"type:varchar(64);not null"`
|
|
Dbname string `json:"dbname" gorm:"type:varchar(256);not null"`
|
|
Username string `json:"username" gorm:"type:varchar(256);not null"`
|
|
Password string `json:"password" gorm:"type:varchar(256);not null"`
|
|
}
|