mirror of
https://github.com/mattermost/mattermost.git
synced 2025-02-25 18:55:24 -06:00
db: upgrade db to 5.27 (#15277)
This commit is contained in:
committed by
GitHub
parent
10d2fed795
commit
df4524e231
@@ -19,7 +19,7 @@ import (
|
||||
)
|
||||
|
||||
const (
|
||||
CURRENT_SCHEMA_VERSION = VERSION_5_26_0
|
||||
CURRENT_SCHEMA_VERSION = VERSION_5_27_0
|
||||
VERSION_5_28_0 = "5.28.0"
|
||||
VERSION_5_27_0 = "5.27.0"
|
||||
VERSION_5_26_0 = "5.26.0"
|
||||
@@ -829,11 +829,9 @@ func upgradeDatabaseToVersion526(sqlStore SqlStore) {
|
||||
}
|
||||
|
||||
func upgradeDatabaseToVersion527(sqlStore SqlStore) {
|
||||
// TODO: uncomment when the time arrive to upgrade the DB for 5.27
|
||||
// if shouldPerformUpgrade(sqlStore, VERSION_5_26_0, VERSION_5_27_0) {
|
||||
|
||||
// saveSchemaVersion(sqlStore, VERSION_5_27_0)
|
||||
// }
|
||||
if shouldPerformUpgrade(sqlStore, VERSION_5_26_0, VERSION_5_27_0) {
|
||||
saveSchemaVersion(sqlStore, VERSION_5_27_0)
|
||||
}
|
||||
}
|
||||
|
||||
func upgradeDatabaseToVersion528(sqlStore SqlStore) {
|
||||
|
||||
Reference in New Issue
Block a user