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.
15 lines
540 B
15 lines
540 B
package model
|
|
|
|
type DatabasePostgresql struct {
|
|
BaseModel
|
|
Name string `json:"name" gorm:"not null"`
|
|
From string `json:"from" gorm:"not null;default:local"`
|
|
PostgresqlName string `json:"postgresqlName" gorm:"not null"`
|
|
Format string `json:"format" gorm:"not null"`
|
|
Username string `json:"username" gorm:"not null"`
|
|
Password string `json:"password" gorm:"not null"`
|
|
SuperUser bool `json:"superUser"`
|
|
IsDelete bool `json:"isDelete"`
|
|
Description string `json:"description"`
|
|
}
|