mirror of
https://github.com/mattermost/mattermost.git
synced 2025-02-25 18:55:24 -06:00
Uncomment upgrade for 3.10 (#6600)
This commit is contained in:
@@ -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)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user