Этот коммит содержится в:
Chris
2017-09-05 19:29:26 -05:00
коммит произвёл GitHub
родитель 1605fa5102
Коммит 90da40b54c
2 изменённых файлов: 4 добавлений и 4 удалений

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

@@ -13,6 +13,7 @@ import (
// It should be maitained in chronological order with most current
// release at the front of the list.
var versions = []string{
"4.2.0",
"4.1.0",
"4.0.0",
"3.10.0",

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

@@ -296,8 +296,7 @@ func UpgradeDatabaseToVersion41(sqlStore SqlStore) {
}
func UpgradeDatabaseToVersion42(sqlStore SqlStore) {
// TODO: Uncomment following condition when version 4.1.0 is released
// if shouldPerformUpgrade(sqlStore, VERSION_4_1_0, VERSION_4_2_0) {
// saveSchemaVersion(sqlStore, VERSION_4_2_0)
// }
if shouldPerformUpgrade(sqlStore, VERSION_4_1_0, VERSION_4_2_0) {
saveSchemaVersion(sqlStore, VERSION_4_2_0)
}
}