summaryrefslogtreecommitdiffstats
path: root/store/sqlstore/upgrade.go
diff options
context:
space:
mode:
authorChristian Hoff <hoff.christian@posteo.de>2018-03-01 20:11:44 +0100
committerJoram Wilander <jwawilander@gmail.com>2018-03-01 19:11:44 +0000
commit2b3b6051d265edf131d006b2eb14f55284faf1e5 (patch)
tree2bf50fd4c6ff09daf897f818aaef0c357b67ca79 /store/sqlstore/upgrade.go
parent51c7198d53a2fbc4c7d47b3eb308781b69bf4b51 (diff)
downloadchat-2b3b6051d265edf131d006b2eb14f55284faf1e5.tar.gz
chat-2b3b6051d265edf131d006b2eb14f55284faf1e5.tar.bz2
chat-2b3b6051d265edf131d006b2eb14f55284faf1e5.zip
PLT-7567: Integration of Team Icons (#8284)
* PLT-7567: Integration of Team Icons * PLT-7567: Read replica workaround, upgrade logic moved, more concrete i18n key * PLT-7567: Read replica workaround, corrections * PLT-7567: upgrade correction
Diffstat (limited to 'store/sqlstore/upgrade.go')
-rw-r--r--store/sqlstore/upgrade.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/store/sqlstore/upgrade.go b/store/sqlstore/upgrade.go
index 77289183c..9cbef233e 100644
--- a/store/sqlstore/upgrade.go
+++ b/store/sqlstore/upgrade.go
@@ -365,8 +365,10 @@ func UpgradeDatabaseToVersion471(sqlStore SqlStore) {
}
func UpgradeDatabaseToVersion48(sqlStore SqlStore) {
+
//TODO: Uncomment the following condition when version 4.8.0 is released
//if shouldPerformUpgrade(sqlStore, VERSION_4_7_0, VERSION_4_8_0) {
+ sqlStore.CreateColumnIfNotExists("Teams", "LastTeamIconUpdate", "bigint", "bigint", "0")
// saveSchemaVersion(sqlStore, VERSION_4_8_0)
//}
}