diff options
author | Joram Wilander <jwawilander@gmail.com> | 2018-03-08 07:18:49 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-03-08 07:18:49 -0500 |
commit | 4081bb2a71f93b84ab228900e85b32413574195b (patch) | |
tree | bf147253d348acaa5a60d7f7a9a973cd7b1cfed3 /store/sqlstore | |
parent | 5ed3b42629fa9ac4d1a9c237292afcf98e61b994 (diff) | |
download | chat-4081bb2a71f93b84ab228900e85b32413574195b.tar.gz chat-4081bb2a71f93b84ab228900e85b32413574195b.tar.bz2 chat-4081bb2a71f93b84ab228900e85b32413574195b.zip |
Moved team icon upgrade code to 4.9 since it didn't make it in for 4.8 (#8410)
Diffstat (limited to 'store/sqlstore')
-rw-r--r-- | store/sqlstore/upgrade.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/store/sqlstore/upgrade.go b/store/sqlstore/upgrade.go index 388323944..58de85c7f 100644 --- a/store/sqlstore/upgrade.go +++ b/store/sqlstore/upgrade.go @@ -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) //} } |