Этот коммит содержится в:
Carlos Tadeu Panato Junior
2018-07-03 18:15:15 +02:00
коммит произвёл GitHub
родитель 0e17babdd3
Коммит 7c855c30db
2 изменённых файлов: 4 добавлений и 5 удалений

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

@@ -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)
}
}