Upgrade db and version (#17230)
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
94abb34821
Коммит
5329eac020
@@ -13,6 +13,7 @@ import (
|
||||
// It should be maintained in chronological order with most current
|
||||
// release at the front of the list.
|
||||
var versions = []string{
|
||||
"5.34.0",
|
||||
"5.33.0",
|
||||
"5.32.0",
|
||||
"5.31.0",
|
||||
|
||||
@@ -19,7 +19,7 @@ import (
|
||||
)
|
||||
|
||||
const (
|
||||
CurrentSchemaVersion = Version5330
|
||||
CurrentSchemaVersion = Version5340
|
||||
Version5340 = "5.34.0"
|
||||
Version5330 = "5.33.0"
|
||||
Version5320 = "5.32.0"
|
||||
@@ -999,7 +999,7 @@ func upgradeDatabaseToVersion533(sqlStore *SqlStore) {
|
||||
}
|
||||
|
||||
func upgradeDatabaseToVersion534(sqlStore *SqlStore) {
|
||||
// if shouldPerformUpgrade(sqlStore, Version5330, Version5340) {
|
||||
// saveSchemaVersion(sqlStore, Version5340)
|
||||
// }
|
||||
if shouldPerformUpgrade(sqlStore, Version5330, Version5340) {
|
||||
saveSchemaVersion(sqlStore, Version5340)
|
||||
}
|
||||
}
|
||||
|
||||
Ссылка в новой задаче
Block a user