mirror of
https://github.com/mattermost/mattermost.git
synced 2026-09-24 16:05:00 +08:00
add commented 4.3 upgrade func (#7388)
This commit is contained in:
@@ -15,6 +15,7 @@ import (
|
||||
)
|
||||
|
||||
const (
|
||||
VERSION_4_3_0 = "4.3.0"
|
||||
VERSION_4_2_0 = "4.2.0"
|
||||
VERSION_4_1_0 = "4.1.0"
|
||||
VERSION_4_0_0 = "4.0.0"
|
||||
@@ -300,3 +301,10 @@ func UpgradeDatabaseToVersion42(sqlStore SqlStore) {
|
||||
saveSchemaVersion(sqlStore, VERSION_4_2_0)
|
||||
}
|
||||
}
|
||||
|
||||
func UpgradeDatabaseToVersion43(sqlStore SqlStore) {
|
||||
// TODO: Uncomment following condition when version 4.3.0 is released
|
||||
//if shouldPerformUpgrade(sqlStore, VERSION_4_2_0, VERSION_4_3_0) {
|
||||
// saveSchemaVersion(sqlStore, VERSION_4_3_0)
|
||||
//}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user