summaryrefslogtreecommitdiffstats
path: root/model/role.go
diff options
context:
space:
mode:
authorGeorge Goldberg <george@gberg.me>2018-02-08 16:08:47 +0000
committerJesús Espino <jespinog@gmail.com>2018-02-08 17:08:47 +0100
commit96ffde43dc5dccef7af106dc8200566ff16ba1dc (patch)
tree9574b60e1afc03a3684efa1e6fe238f0a365c4d2 /model/role.go
parentfa5cba9cc79b3bdc48ad42f276652bc699795a39 (diff)
downloadchat-96ffde43dc5dccef7af106dc8200566ff16ba1dc.tar.gz
chat-96ffde43dc5dccef7af106dc8200566ff16ba1dc.tar.bz2
chat-96ffde43dc5dccef7af106dc8200566ff16ba1dc.zip
XYZ-80: Add CreateAt/UpdateAt/DeleteAt fields to roles table. (#8223)
Diffstat (limited to 'model/role.go')
-rw-r--r--model/role.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/model/role.go b/model/role.go
index eedf97d25..281304801 100644
--- a/model/role.go
+++ b/model/role.go
@@ -34,6 +34,9 @@ type Role struct {
Name string `json:"name"`
DisplayName string `json:"display_name"`
Description string `json:"description"`
+ CreateAt int64 `json:"create_at"`
+ UpdateAt int64 `json:"update_at"`
+ DeleteAt int64 `json:"delete_at"`
Permissions []string `json:"permissions"`
SchemeManaged bool `json:"scheme_managed"`
}