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