Этот коммит содержится в:
Christopher Speller
2017-12-08 11:04:23 -08:00
родитель 5358b9c42c
Коммит 39cf3a998d
2 изменённых файлов: 3 добавлений и 8 удалений

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

@@ -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.5.0",
"4.4.0",
"4.3.0",
"4.2.0",

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

@@ -323,13 +323,7 @@ func UpgradeDatabaseToVersion44(sqlStore SqlStore) {
}
func UpgradeDatabaseToVersion45(sqlStore SqlStore) {
//TODO: Remove next two lines before 4.5 release. They're just here to fix CI servers
sqlStore.AlterColumnTypeIfExists("PluginKeyValueStore", "PKey", "varchar(50)", "varchar(50)")
sqlStore.AlterColumnTypeIfExists("PluginKeyValueStore", "PluginId", "varchar(190)", "varchar(190)")
//TODO: Uncomment when 4.5 is released
/*if shouldPerformUpgrade(sqlStore, VERSION_4_4_0, VERSION_4_5_0) {
if shouldPerformUpgrade(sqlStore, VERSION_4_4_0, VERSION_4_5_0) {
saveSchemaVersion(sqlStore, VERSION_4_5_0)
}*/
}
}