XYZ-110: Cherrypicking changes from release-4.7 to master (#8254)

* Cherry-picking 7b2861de3a to master because enterprise/master has code in it that enterprise/release-4.7 does not, and I don't want enterprise/master to break the next time somebody merges enterprise/release-4.7 to enterprise/master

* Renamed file to match existing scheme

(cherry picked from commit 8c22c5c6c6)
Этот коммит содержится в:
Jonathan
2018-02-13 15:17:29 -05:00
коммит произвёл Joram Wilander
родитель 5c560db810
Коммит bf1fdf92c7
6 изменённых файлов: 45 добавлений и 32 удалений

Просмотреть файл

@@ -8,8 +8,4 @@ type ChannelMemberHistory struct {
UserId string
JoinTime int64
LeaveTime *int64
// these two fields are never set in the database - when we SELECT, we join on Users to get them
UserEmail string `db:"Email"`
Username string
}

15
model/channel_member_history_result.go Обычный файл
Просмотреть файл

@@ -0,0 +1,15 @@
// Copyright (c) 2017-present Mattermost, Inc. All Rights Reserved.
// See License.txt for license information.
package model
type ChannelMemberHistoryResult struct {
ChannelId string
UserId string
JoinTime int64
LeaveTime *int64
// these two fields are never set in the database - when we SELECT, we join on Users to get them
UserEmail string `db:"Email"`
Username string
}