diff options
author | Martin Kraft <mkraft@users.noreply.github.com> | 2018-03-09 10:30:05 -0500 |
---|---|---|
committer | Joram Wilander <jwawilander@gmail.com> | 2018-03-09 10:30:05 -0500 |
commit | 426796829a4a1436c4733ee856d033c02749e64b (patch) | |
tree | 21076940dc50994670aca2af9724c89c43de27a8 /store/sqlstore/compliance_store.go | |
parent | 8ad99b4b1fbc901a69886d9a12ac016d8396b32f (diff) | |
download | chat-426796829a4a1436c4733ee856d033c02749e64b.tar.gz chat-426796829a4a1436c4733ee856d033c02749e64b.tar.bz2 chat-426796829a4a1436c4733ee856d033c02749e64b.zip |
MM-8839: Adds ChannelType to compliance-related model. (#8424)
Diffstat (limited to 'store/sqlstore/compliance_store.go')
-rw-r--r-- | store/sqlstore/compliance_store.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/store/sqlstore/compliance_store.go b/store/sqlstore/compliance_store.go index 121d80102..c3c75581e 100644 --- a/store/sqlstore/compliance_store.go +++ b/store/sqlstore/compliance_store.go @@ -138,6 +138,7 @@ func (s SqlComplianceStore) ComplianceExport(job *model.Compliance) store.StoreC Teams.DisplayName AS TeamDisplayName, Channels.Name AS ChannelName, Channels.DisplayName AS ChannelDisplayName, + Channels.Type AS ChannelType, Users.Username AS UserUsername, Users.Email AS UserEmail, Users.Nickname AS UserNickname, @@ -172,6 +173,7 @@ func (s SqlComplianceStore) ComplianceExport(job *model.Compliance) store.StoreC 'Direct Messages' AS TeamDisplayName, Channels.Name AS ChannelName, Channels.DisplayName AS ChannelDisplayName, + Channels.Type AS ChannelType, Users.Username AS UserUsername, Users.Email AS UserEmail, Users.Nickname AS UserNickname, @@ -228,6 +230,7 @@ func (s SqlComplianceStore) MessageExport(after int64, limit int) store.StoreCha WHEN Channels.Type = 'G' THEN 'Group Message' ELSE Channels.DisplayName END AS ChannelDisplayName, + Channels.Type AS ChannelType, Users.Id AS UserId, Users.Email AS UserEmail, Users.Username |