diff options
author | George Goldberg <george@gberg.me> | 2018-02-08 16:08:47 +0000 |
---|---|---|
committer | Jesús Espino <jespinog@gmail.com> | 2018-02-08 17:08:47 +0100 |
commit | 96ffde43dc5dccef7af106dc8200566ff16ba1dc (patch) | |
tree | 9574b60e1afc03a3684efa1e6fe238f0a365c4d2 /model | |
parent | fa5cba9cc79b3bdc48ad42f276652bc699795a39 (diff) | |
download | chat-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')
-rw-r--r-- | model/role.go | 3 |
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"` } |