upgrade db to 6.2.0 (#19085)
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
009d02c57a
Коммит
810edf34a1
@@ -17,7 +17,7 @@ import (
|
||||
)
|
||||
|
||||
const (
|
||||
CurrentSchemaVersion = Version610
|
||||
CurrentSchemaVersion = Version620
|
||||
Version620 = "6.2.0"
|
||||
Version610 = "6.1.0"
|
||||
Version600 = "6.0.0"
|
||||
@@ -1410,9 +1410,7 @@ func upgradeDatabaseToVersion610(sqlStore *SqlStore) {
|
||||
}
|
||||
|
||||
func upgradeDatabaseToVersion620(sqlStore *SqlStore) {
|
||||
// TODO: uncomment when the time arrive to upgrade the DB for 6.2
|
||||
// if shouldPerformUpgrade(sqlStore, Version610, Version620) {
|
||||
|
||||
// saveSchemaVersion(sqlStore, Version620)
|
||||
// }
|
||||
if shouldPerformUpgrade(sqlStore, Version610, Version620) {
|
||||
saveSchemaVersion(sqlStore, Version620)
|
||||
}
|
||||
}
|
||||
|
||||
Ссылка в новой задаче
Block a user