summaryrefslogtreecommitdiffstats
path: root/store/sql_team_store.go
diff options
context:
space:
mode:
authorChristopher Speller <crspeller@gmail.com>2017-01-27 09:30:33 -0500
committerChristopher Speller <crspeller@gmail.com>2017-01-27 09:30:33 -0500
commit8d2e8525a445a80085282142375b0cc68916d552 (patch)
treec2627b71c568346bbcca7be4a555744e3c2c757c /store/sql_team_store.go
parentcfbace70ca4222e7abba92c5e3af7440539452c7 (diff)
parent0d8bb03b5773923cf52f4d8cb2711131caae105c (diff)
downloadchat-8d2e8525a445a80085282142375b0cc68916d552.tar.gz
chat-8d2e8525a445a80085282142375b0cc68916d552.tar.bz2
chat-8d2e8525a445a80085282142375b0cc68916d552.zip
Merge branch 'release-3.6'
Diffstat (limited to 'store/sql_team_store.go')
-rw-r--r--store/sql_team_store.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/store/sql_team_store.go b/store/sql_team_store.go
index b0af895c5..6c1cdcad7 100644
--- a/store/sql_team_store.go
+++ b/store/sql_team_store.go
@@ -44,7 +44,7 @@ func NewSqlTeamStore(sqlStore *SqlStore) TeamStore {
func (s SqlTeamStore) CreateIndexesIfNotExists() {
s.CreateIndexIfNotExists("idx_teams_name", "Teams", "Name")
- s.CreateIndexIfNotExists("idx_teams_description", "Teams", "Description")
+ s.RemoveIndexIfExists("idx_teams_description", "Teams")
s.CreateIndexIfNotExists("idx_teams_invite_id", "Teams", "InviteId")
s.CreateIndexIfNotExists("idx_teams_update_at", "Teams", "UpdateAt")
s.CreateIndexIfNotExists("idx_teams_create_at", "Teams", "CreateAt")