mirror of
https://github.com/mattermost/mattermost.git
synced 2025-02-25 18:55:24 -06:00
upgrade db to 5.15 (#11918)
This commit is contained in:
committed by
GitHub
parent
b9a3c2e90e
commit
0ddc5f4a32
@@ -13,6 +13,7 @@ import (
|
|||||||
// It should be maintained in chronological order with most current
|
// It should be maintained in chronological order with most current
|
||||||
// release at the front of the list.
|
// release at the front of the list.
|
||||||
var versions = []string{
|
var versions = []string{
|
||||||
|
"5.15.0",
|
||||||
"5.14.0",
|
"5.14.0",
|
||||||
"5.13.0",
|
"5.13.0",
|
||||||
"5.12.0",
|
"5.12.0",
|
||||||
|
|||||||
@@ -729,11 +729,9 @@ func UpgradeDatabaseToVersion514(sqlStore SqlStore) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func UpgradeDatabaseToVersion515(sqlStore SqlStore) {
|
func UpgradeDatabaseToVersion515(sqlStore SqlStore) {
|
||||||
// TODO: Uncomment following condition when version 5.15.0 is released
|
if shouldPerformUpgrade(sqlStore, VERSION_5_14_0, VERSION_5_15_0) {
|
||||||
// if shouldPerformUpgrade(sqlStore, VERSION_5_14_0, VERSION_5_15_0) {
|
saveSchemaVersion(sqlStore, VERSION_5_15_0)
|
||||||
|
}
|
||||||
// saveSchemaVersion(sqlStore, VERSION_5_15_0)
|
|
||||||
// }
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func UpgradeDatabaseToVersion516(sqlStore SqlStore) {
|
func UpgradeDatabaseToVersion516(sqlStore SqlStore) {
|
||||||
|
|||||||
Reference in New Issue
Block a user