Uncomment upgrae for 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.5.0",
|
||||||
"4.4.0",
|
"4.4.0",
|
||||||
"4.3.0",
|
"4.3.0",
|
||||||
"4.2.0",
|
"4.2.0",
|
||||||
|
|||||||
@@ -323,13 +323,7 @@ func UpgradeDatabaseToVersion44(sqlStore SqlStore) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func UpgradeDatabaseToVersion45(sqlStore SqlStore) {
|
func UpgradeDatabaseToVersion45(sqlStore SqlStore) {
|
||||||
//TODO: Remove next two lines before 4.5 release. They're just here to fix CI servers
|
if shouldPerformUpgrade(sqlStore, VERSION_4_4_0, VERSION_4_5_0) {
|
||||||
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) {
|
|
||||||
|
|
||||||
saveSchemaVersion(sqlStore, VERSION_4_5_0)
|
saveSchemaVersion(sqlStore, VERSION_4_5_0)
|
||||||
}*/
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user