Files
portainer/api/database/models/version.go
T
Prabhat Khera ab627107ad WIP: settings
2022-10-17 11:50:31 +13:00

22 lines
368 B
Go

package models
import (
"net/http"
)
const (
VersionKey string = "DB_VERSION"
InstanceKey string = "INSTANCE_ID"
EditionKey string = "EDITION"
UpdatingKey string = "DB_UPDATING"
)
type Version struct {
Key string `json:"Key" gorm:"unique,primaryKey"`
Value string `json:"Value"`
}
func (r *Version) Validate(request *http.Request) error {
return nil
}