Unverified Commit 7c855c30 authored by Carlos Tadeu Panato Junior's avatar Carlos Tadeu Panato Junior Committed by GitHub

Uncomment upgrade for 5.1.0 (#9040)

parent 0e17babd
......@@ -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.1.0",
"5.0.0",
"4.10.0",
"4.9.0",
......
......@@ -466,9 +466,7 @@ func UpgradeDatabaseToVersion50(sqlStore SqlStore) {
}
func UpgradeDatabaseToVersion51(sqlStore SqlStore) {
// TODO: Uncomment following condition when version 5.1.0 is released
// if shouldPerformUpgrade(sqlStore, VERSION_5_0_0, VERSION_5_1_0) {
// saveSchemaVersion(sqlStore, VERSION_5_1_0)
// }
if shouldPerformUpgrade(sqlStore, VERSION_5_0_0, VERSION_5_1_0) {
saveSchemaVersion(sqlStore, VERSION_5_1_0)
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment