Uncomment upgrade for 5.3.0 (#9354)
* Uncomment upgrade for 5.3.0 * add missing version
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
b98ef658ad
Коммит
d2190527ea
@@ -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.3.0",
|
||||
"5.2.0",
|
||||
"5.1.0",
|
||||
"5.0.0",
|
||||
|
||||
@@ -484,9 +484,7 @@ func UpgradeDatabaseToVersion52(sqlStore SqlStore) {
|
||||
}
|
||||
|
||||
func UpgradeDatabaseToVersion53(sqlStore SqlStore) {
|
||||
// TODO: Uncomment following condition when version 5.3.0 is released
|
||||
// if shouldPerformUpgrade(sqlStore, VERSION_5_2_0, VERSION_5_3_0) {
|
||||
|
||||
// saveSchemaVersion(sqlStore, VERSION_5_3_0)
|
||||
// }
|
||||
if shouldPerformUpgrade(sqlStore, VERSION_5_2_0, VERSION_5_3_0) {
|
||||
saveSchemaVersion(sqlStore, VERSION_5_3_0)
|
||||
}
|
||||
}
|
||||
|
||||
Ссылка в новой задаче
Block a user