* Uncomment upgrade for 5.3.0

* add missing version
Этот коммит содержится в:
Carlos Tadeu Panato Junior
2018-09-04 15:42:43 +02:00
коммит произвёл GitHub
родитель b98ef658ad
Коммит d2190527ea
2 изменённых файлов: 4 добавлений и 5 удалений

Просмотреть файл

@@ -13,6 +13,7 @@ import (
// It should be maintained in chronological order with most current // It should be maintained in chronological order with most current
// release at the front of the list. // release at the front of the list.
var versions = []string{ var versions = []string{
"5.3.0",
"5.2.0", "5.2.0",
"5.1.0", "5.1.0",
"5.0.0", "5.0.0",

Просмотреть файл

@@ -484,9 +484,7 @@ func UpgradeDatabaseToVersion52(sqlStore SqlStore) {
} }
func UpgradeDatabaseToVersion53(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) {
// if shouldPerformUpgrade(sqlStore, VERSION_5_2_0, VERSION_5_3_0) { saveSchemaVersion(sqlStore, VERSION_5_3_0)
}
// saveSchemaVersion(sqlStore, VERSION_5_3_0)
// }
} }