1Panel/backend/app/model/backup.go

10 lines
307 B
Go
Raw Normal View History

package model
type BackupAccount struct {
BaseModel
2022-09-19 19:42:06 +08:00
Type string `gorm:"type:varchar(64);unique;not null" json:"type"`
Bucket string `gorm:"type:varchar(256)" json:"bucket"`
Credential string `gorm:"type:varchar(256)" json:"credential"`
Vars string `gorm:"type:longText" json:"vars"`
}