Moved team icon upgrade code to 4.9 since it didn't make it in for 4.8 (#8410)
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
5ed3b42629
Коммит
4081bb2a71
@@ -368,7 +368,6 @@ func UpgradeDatabaseToVersion471(sqlStore SqlStore) {
|
||||
|
||||
func UpgradeDatabaseToVersion48(sqlStore SqlStore) {
|
||||
if shouldPerformUpgrade(sqlStore, VERSION_4_7_1, VERSION_4_8_0) {
|
||||
sqlStore.CreateColumnIfNotExists("Teams", "LastTeamIconUpdate", "bigint", "bigint", "0")
|
||||
saveSchemaVersion(sqlStore, VERSION_4_8_0)
|
||||
}
|
||||
}
|
||||
@@ -376,6 +375,7 @@ func UpgradeDatabaseToVersion48(sqlStore SqlStore) {
|
||||
func UpgradeDatabaseToVersion49(sqlStore SqlStore) {
|
||||
//TODO: Uncomment the following condition when version 4.9.0 is released
|
||||
//if shouldPerformUpgrade(sqlStore, VERSION_4_8_0, VERSION_4_9_0) {
|
||||
sqlStore.CreateColumnIfNotExists("Teams", "LastTeamIconUpdate", "bigint", "bigint", "0")
|
||||
// saveSchemaVersion(sqlStore, VERSION_4_9_0)
|
||||
//}
|
||||
}
|
||||
|
||||
Ссылка в новой задаче
Block a user