Uncomment upgrade for 3.10 (#6600)

This commit is contained in:
Joram Wilander
2017-06-06 18:29:47 -04:00
committed by GitHub
parent c831e14ed0
commit 4554d511d5
2 changed files with 4 additions and 5 deletions

View File

@@ -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",

View File

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