diff options
author | Christopher Speller <crspeller@gmail.com> | 2017-01-27 09:30:33 -0500 |
---|---|---|
committer | Christopher Speller <crspeller@gmail.com> | 2017-01-27 09:30:33 -0500 |
commit | 8d2e8525a445a80085282142375b0cc68916d552 (patch) | |
tree | c2627b71c568346bbcca7be4a555744e3c2c757c /store/sql_team_store.go | |
parent | cfbace70ca4222e7abba92c5e3af7440539452c7 (diff) | |
parent | 0d8bb03b5773923cf52f4d8cb2711131caae105c (diff) | |
download | chat-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.go | 2 |
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") |