upgrade db to 5.7 (#10019)
Этот коммит содержится в:
коммит произвёл
Joram Wilander
родитель
f639c7c617
Коммит
b3ed9a8507
@@ -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",
|
||||
|
||||
@@ -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) {
|
||||
|
||||
Ссылка в новой задаче
Block a user