Skip to content

Commit

Permalink
Opt: update db version
Browse files Browse the repository at this point in the history
  • Loading branch information
zijiren233 committed Jan 21, 2024
1 parent 05f186b commit 5f8358d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion internal/db/update.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ type dbVersion struct {
Upgrade func(*gorm.DB) error
}

const CurrentVersion = "0.0.3"
const CurrentVersion = "0.0.4"

var models = []any{
new(model.Setting),
Expand Down Expand Up @@ -50,6 +50,9 @@ var dbVersions = map[string]dbVersion{
},
},
"0.0.3": {
NextVersion: "0.0.4",
},
"0.0.4": {
NextVersion: "",
},
}
Expand Down

0 comments on commit 5f8358d

Please sign in to comment.