Uncomment upgrade for 4.0 (#6844)
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
d64d1f4029
Коммит
3d382cfa0e
@@ -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{
|
||||
"4.0.0",
|
||||
"3.10.0",
|
||||
"3.9.0",
|
||||
"3.8.0",
|
||||
|
||||
@@ -272,9 +272,7 @@ func UpgradeDatabaseToVersion310(sqlStore SqlStore) {
|
||||
}
|
||||
|
||||
func UpgradeDatabaseToVersion40(sqlStore SqlStore) {
|
||||
// TODO: Uncomment following condition when version 4.0.0 is released
|
||||
//if shouldPerformUpgrade(sqlStore, VERSION_3_10_0, VERSION_4_0_0) {
|
||||
|
||||
// saveSchemaVersion(sqlStore, VERSION_4_0_0)
|
||||
//}
|
||||
if shouldPerformUpgrade(sqlStore, VERSION_3_10_0, VERSION_4_0_0) {
|
||||
saveSchemaVersion(sqlStore, VERSION_4_0_0)
|
||||
}
|
||||
}
|
||||
|
||||
Ссылка в новой задаче
Block a user