diff options
author | Jonathan Fritz <jonathan.fritz@mattermost.com> | 2018-02-13 10:48:34 -0500 |
---|---|---|
committer | Jonathan Fritz <jonathan.fritz@mattermost.com> | 2018-02-13 10:48:34 -0500 |
commit | 8c22c5c6c6f835a6e73faf19036bad2a51bb9127 (patch) | |
tree | ba044fc2850387ef0ed3f34f005500dc7b862c47 /model/channel_member_history_result.go | |
parent | 18fa32567b56584c6e24da2ae68814d5bf8ece6f (diff) | |
download | chat-8c22c5c6c6f835a6e73faf19036bad2a51bb9127.tar.gz chat-8c22c5c6c6f835a6e73faf19036bad2a51bb9127.tar.bz2 chat-8c22c5c6c6f835a6e73faf19036bad2a51bb9127.zip |
Renamed file to match existing scheme
Diffstat (limited to 'model/channel_member_history_result.go')
-rw-r--r-- | model/channel_member_history_result.go | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/model/channel_member_history_result.go b/model/channel_member_history_result.go new file mode 100644 index 000000000..ed3e79639 --- /dev/null +++ b/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 +} |