upgrade db to 5.7 (#10019)

This commit is contained in:
Carlos Tadeu Panato Junior
2018-12-19 15:25:11 +01:00
committed by Joram Wilander
parent f639c7c617
commit b3ed9a8507
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.7.0",
"5.6.0",
"5.5.0",
"5.4.0",

View File

@@ -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) {