22 lines
368 B
Go
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
|
|
}
|