diff options
author | Joram Wilander <jwawilander@gmail.com> | 2016-12-23 10:32:30 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-12-23 10:32:30 -0500 |
commit | 217cdf447a995fd8f2700b14ba790360ccaeabf6 (patch) | |
tree | ca0b01c4cd869fbadd1d5a831b5775ca9dc066dc /store/sql_upgrade.go | |
parent | ffd6ccde2ed4b1d374d0835c5638a189df60a679 (diff) | |
download | chat-217cdf447a995fd8f2700b14ba790360ccaeabf6.tar.gz chat-217cdf447a995fd8f2700b14ba790360ccaeabf6.tar.bz2 chat-217cdf447a995fd8f2700b14ba790360ccaeabf6.zip |
PLT-5073 Improve performance of /channels/view endpoint (#4881)
* Improve performance of /channels/view endpoint
* Fix store unit test
Diffstat (limited to 'store/sql_upgrade.go')
-rw-r--r-- | store/sql_upgrade.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/store/sql_upgrade.go b/store/sql_upgrade.go index a275f664c..4c4d83504 100644 --- a/store/sql_upgrade.go +++ b/store/sql_upgrade.go @@ -225,6 +225,9 @@ func UpgradeDatabaseToVersion36(sqlStore *SqlStore) { // Add a Position column to users. sqlStore.CreateColumnIfNotExists("Users", "Position", "varchar(64)", "varchar(64)", "") + // Remove ActiveChannel column from Status + sqlStore.RemoveColumnIfExists("Status", "ActiveChannel") + //saveSchemaVersion(sqlStore, VERSION_3_6_0) //} } |