mirror of https://github.com/synctv-org/synctv.git
Fix: update database
This commit is contained in:
parent
c34bdc9a66
commit
793c119fa3
|
@ -15,7 +15,7 @@ type dbVersion struct {
|
|||
Upgrade func(*gorm.DB) error
|
||||
}
|
||||
|
||||
const CurrentVersion = "0.0.9"
|
||||
const CurrentVersion = "0.0.10"
|
||||
|
||||
var models = []any{
|
||||
new(model.Setting),
|
||||
|
@ -73,6 +73,9 @@ var dbVersions = map[string]dbVersion{
|
|||
NextVersion: "0.0.9",
|
||||
},
|
||||
"0.0.9": {
|
||||
NextVersion: "0.0.10",
|
||||
},
|
||||
"0.0.10": {
|
||||
NextVersion: "",
|
||||
},
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue