mirror of
https://github.com/mattermost/mattermost.git
synced 2025-02-25 18:55:24 -06:00
Uncomment upgrade code to 4.8 (#8409)
* upgrade to 48 * fix upgrade bug
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{
|
||||
"4.8.0",
|
||||
"4.7.1",
|
||||
"4.7.0",
|
||||
"4.6.0",
|
||||
|
||||
@@ -365,8 +365,7 @@ func UpgradeDatabaseToVersion471(sqlStore SqlStore) {
|
||||
}
|
||||
|
||||
func UpgradeDatabaseToVersion48(sqlStore SqlStore) {
|
||||
//TODO: Uncomment the following condition when version 4.8.0 is released
|
||||
//if shouldPerformUpgrade(sqlStore, VERSION_4_7_0, VERSION_4_8_0) {
|
||||
// saveSchemaVersion(sqlStore, VERSION_4_8_0)
|
||||
//}
|
||||
if shouldPerformUpgrade(sqlStore, VERSION_4_7_1, VERSION_4_8_0) {
|
||||
saveSchemaVersion(sqlStore, VERSION_4_8_0)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user