Этот коммит содержится в:
Joram Wilander
2017-06-06 18:29:47 -04:00
коммит произвёл GitHub
родитель c831e14ed0
Коммит 4554d511d5
2 изменённых файлов: 4 добавлений и 5 удалений

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

@@ -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{
"3.10.0",
"3.9.0",
"3.8.0",
"3.7.0",

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

@@ -266,9 +266,7 @@ func UpgradeDatabaseToVersion39(sqlStore *SqlStore) {
}
func UpgradeDatabaseToVersion310(sqlStore *SqlStore) {
// TODO: Uncomment following condition when version 3.10.0 is released
//if shouldPerformUpgrade(sqlStore, VERSION_3_9_0, VERSION_3_10_0) {
// saveSchemaVersion(sqlStore, VERSION_3_10_0)
//}
if shouldPerformUpgrade(sqlStore, VERSION_3_9_0, VERSION_3_10_0) {
saveSchemaVersion(sqlStore, VERSION_3_10_0)
}
}