Этот коммит содержится в:
Saturnino Abril
2017-07-06 22:07:27 +08:00
коммит произвёл GitHub
родитель d64d1f4029
Коммит 3d382cfa0e
2 изменённых файлов: 4 добавлений и 5 удалений

Просмотреть файл

@@ -13,6 +13,7 @@ import (
// It should be maitained in chronological order with most current // It should be maitained in chronological order with most current
// release at the front of the list. // release at the front of the list.
var versions = []string{ var versions = []string{
"4.0.0",
"3.10.0", "3.10.0",
"3.9.0", "3.9.0",
"3.8.0", "3.8.0",

Просмотреть файл

@@ -272,9 +272,7 @@ func UpgradeDatabaseToVersion310(sqlStore SqlStore) {
} }
func UpgradeDatabaseToVersion40(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) {
//if shouldPerformUpgrade(sqlStore, VERSION_3_10_0, VERSION_4_0_0) { saveSchemaVersion(sqlStore, VERSION_4_0_0)
}
// saveSchemaVersion(sqlStore, VERSION_4_0_0)
//}
} }