Uncomment upgrade for 5.1.0 (#9040)
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
0e17babdd3
Коммит
7c855c30db
@@ -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.1.0",
|
||||
"5.0.0",
|
||||
"4.10.0",
|
||||
"4.9.0",
|
||||
|
||||
@@ -466,9 +466,7 @@ func UpgradeDatabaseToVersion50(sqlStore SqlStore) {
|
||||
}
|
||||
|
||||
func UpgradeDatabaseToVersion51(sqlStore SqlStore) {
|
||||
// TODO: Uncomment following condition when version 5.1.0 is released
|
||||
// if shouldPerformUpgrade(sqlStore, VERSION_5_0_0, VERSION_5_1_0) {
|
||||
|
||||
// saveSchemaVersion(sqlStore, VERSION_5_1_0)
|
||||
// }
|
||||
if shouldPerformUpgrade(sqlStore, VERSION_5_0_0, VERSION_5_1_0) {
|
||||
saveSchemaVersion(sqlStore, VERSION_5_1_0)
|
||||
}
|
||||
}
|
||||
|
||||
Ссылка в новой задаче
Block a user