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.
12 lines
382 B
12 lines
382 B
package model
|
|
|
|
type ComposeTemplate struct {
|
|
BaseModel
|
|
|
|
Name string `gorm:"type:varchar(64);not null;unique" json:"name"`
|
|
From string `gorm:"type:varchar(64);not null" json:"from"`
|
|
Description string `gorm:"type:varchar(256)" json:"description"`
|
|
Path string `gorm:"type:varchar(64)" json:"path"`
|
|
Content string `gorm:"type:longtext" json:"content"`
|
|
}
|