mirror of
https://github.com/mattermost/mattermost.git
synced 2025-02-25 18:55:24 -06:00
upgrade db to 5.7 (#10019)
This commit is contained in:
committed by
Joram Wilander
parent
f639c7c617
commit
b3ed9a8507
@@ -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.7.0",
|
||||
"5.6.0",
|
||||
"5.5.0",
|
||||
"5.4.0",
|
||||
|
||||
@@ -538,11 +538,9 @@ func UpgradeDatabaseToVersion56(sqlStore SqlStore) {
|
||||
}
|
||||
|
||||
func UpgradeDatabaseToVersion57(sqlStore SqlStore) {
|
||||
// TODO: Uncomment following condition when version 5.7.0 is released
|
||||
// if shouldPerformUpgrade(sqlStore, VERSION_5_6_0, VERSION_5_7_0) {
|
||||
|
||||
// saveSchemaVersion(sqlStore, VERSION_5_7_0)
|
||||
// }
|
||||
if shouldPerformUpgrade(sqlStore, VERSION_5_6_0, VERSION_5_7_0) {
|
||||
saveSchemaVersion(sqlStore, VERSION_5_7_0)
|
||||
}
|
||||
}
|
||||
|
||||
func UpgradeDatabaseToVersion58(sqlStore SqlStore) {
|
||||
|
||||
Reference in New Issue
Block a user