Uncomment upgrade for 3.10 (#6600)
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
c831e14ed0
Коммит
4554d511d5
@@ -13,6 +13,7 @@ import (
|
||||
// It should be maitained in chronological order with most current
|
||||
// release at the front of the list.
|
||||
var versions = []string{
|
||||
"3.10.0",
|
||||
"3.9.0",
|
||||
"3.8.0",
|
||||
"3.7.0",
|
||||
|
||||
@@ -266,9 +266,7 @@ func UpgradeDatabaseToVersion39(sqlStore *SqlStore) {
|
||||
}
|
||||
|
||||
func UpgradeDatabaseToVersion310(sqlStore *SqlStore) {
|
||||
// TODO: Uncomment following condition when version 3.10.0 is released
|
||||
//if shouldPerformUpgrade(sqlStore, VERSION_3_9_0, VERSION_3_10_0) {
|
||||
|
||||
// saveSchemaVersion(sqlStore, VERSION_3_10_0)
|
||||
//}
|
||||
if shouldPerformUpgrade(sqlStore, VERSION_3_9_0, VERSION_3_10_0) {
|
||||
saveSchemaVersion(sqlStore, VERSION_3_10_0)
|
||||
}
|
||||
}
|
||||
|
||||
Ссылка в новой задаче
Block a user