summaryrefslogtreecommitdiffstats
path: root/model/channel_member_history.go
diff options
context:
space:
mode:
Diffstat (limited to 'model/channel_member_history.go')
-rw-r--r--model/channel_member_history.go12
1 files changed, 12 insertions, 0 deletions
diff --git a/model/channel_member_history.go b/model/channel_member_history.go
new file mode 100644
index 000000000..bc71b580a
--- /dev/null
+++ b/model/channel_member_history.go
@@ -0,0 +1,12 @@
+// Copyright (c) 2017-present Mattermost, Inc. All Rights Reserved.
+// See License.txt for license information.
+
+package model
+
+type ChannelMemberHistory struct {
+ ChannelId string
+ UserId string
+ UserEmail string `db:"Email"`
+ JoinTime int64
+ LeaveTime *int64
+}