mirror of
https://github.com/mattermost/mattermost.git
synced 2026-09-24 16:05:00 +08:00
Uncomment upgrade for 5.3.0 (#9354)
* Uncomment upgrade for 5.3.0 * add missing version
This commit is contained in:
@@ -13,6 +13,7 @@ import (
|
||||
// It should be maintained in chronological order with most current
|
||||
// release at the front of the list.
|
||||
var versions = []string{
|
||||
"5.3.0",
|
||||
"5.2.0",
|
||||
"5.1.0",
|
||||
"5.0.0",
|
||||
|
||||
@@ -484,9 +484,7 @@ func UpgradeDatabaseToVersion52(sqlStore SqlStore) {
|
||||
}
|
||||
|
||||
func UpgradeDatabaseToVersion53(sqlStore SqlStore) {
|
||||
// TODO: Uncomment following condition when version 5.3.0 is released
|
||||
// if shouldPerformUpgrade(sqlStore, VERSION_5_2_0, VERSION_5_3_0) {
|
||||
|
||||
// saveSchemaVersion(sqlStore, VERSION_5_3_0)
|
||||
// }
|
||||
if shouldPerformUpgrade(sqlStore, VERSION_5_2_0, VERSION_5_3_0) {
|
||||
saveSchemaVersion(sqlStore, VERSION_5_3_0)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user