upgrade db to 5.15 (#11918)

This commit is contained in:
Carlos Tadeu Panato Junior
2019-09-05 12:50:40 +02:00
committed by GitHub
parent b9a3c2e90e
commit 0ddc5f4a32
2 changed files with 4 additions and 5 deletions

View File

@@ -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.15.0",
"5.14.0",
"5.13.0",
"5.12.0",

View File

@@ -729,11 +729,9 @@ func UpgradeDatabaseToVersion514(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) {
// saveSchemaVersion(sqlStore, VERSION_5_15_0)
// }
if shouldPerformUpgrade(sqlStore, VERSION_5_14_0, VERSION_5_15_0) {
saveSchemaVersion(sqlStore, VERSION_5_15_0)
}
}
func UpgradeDatabaseToVersion516(sqlStore SqlStore) {