summaryrefslogtreecommitdiffstats
path: root/model
diff options
context:
space:
mode:
Diffstat (limited to 'model')
-rw-r--r--model/job.go1
-rw-r--r--model/plugin_key_value.go1
2 files changed, 2 insertions, 0 deletions
diff --git a/model/job.go b/model/job.go
index c16614958..76ef65b6f 100644
--- a/model/job.go
+++ b/model/job.go
@@ -17,6 +17,7 @@ const (
JOB_TYPE_ELASTICSEARCH_POST_AGGREGATION = "elasticsearch_post_aggregation"
JOB_TYPE_LDAP_SYNC = "ldap_sync"
JOB_TYPE_MIGRATIONS = "migrations"
+ JOB_TYPE_PLUGINS = "plugins"
JOB_STATUS_PENDING = "pending"
JOB_STATUS_IN_PROGRESS = "in_progress"
diff --git a/model/plugin_key_value.go b/model/plugin_key_value.go
index b7a7731c4..7e156d93d 100644
--- a/model/plugin_key_value.go
+++ b/model/plugin_key_value.go
@@ -17,6 +17,7 @@ type PluginKeyValue struct {
PluginId string `json:"plugin_id"`
Key string `json:"key" db:"PKey"`
Value []byte `json:"value" db:"PValue"`
+ ExpireAt int64 `json:"expire_at"`
}
func (kv *PluginKeyValue) IsValid() *AppError {